| Fix PHPStan errors on PHP 8.5
| 3 个月前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Introduce Utils::getRandomFloat() (#6532)
Drop-in replacement for lcg_value() for PHP 8.4 | 1 年前 |
| Implemented sound when equipping armor (#6303)
| 2 年前 |
| Implement enchanting using enchanting tables (#5953)
Co-authored-by: Dylan K. Taylor <dktapps@pmmp.io> | 2 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Enable various types of interaction to return items to the player, without needing to have a bunch of boilerplate creative mode and held item checks
it became glaringly obvious that this was needed because of #4827 and #4868.
this is further needed with the addition of cauldrons.
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Updated NBT library to get new ListTag handling features
| 7 个月前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Boat: use BoatType enum instead of TreeType
TreeType really belongs in the generator package. Not all types of tree may have their own boat type (e.g. azalea).
We can't use WoodType for this either, because some types of wood also don't have associated boat types (crimson, warped).
| 2 年前 |
| Start migrating EnumTrait enums to PHP 8.1 native enums
| 2 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Start migrating EnumTrait enums to PHP 8.1 native enums
| 2 年前 |
| Bowl: Add fuel return value (#6384)
| 1 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Start migrating EnumTrait enums to PHP 8.1 native enums
| 2 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Implemented a proper way to handle items cooldown (#6405)
| 1 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Start migrating EnumTrait enums to PHP 8.1 native enums
| 2 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Introduce Utils::getRandomFloat() (#6532)
Drop-in replacement for lcg_value() for PHP 8.4 | 1 年前 |
| RuntimeDataDescriber: Support dynamically describing arbitrary enums (#6039)
Previously, we were using codegen to support describing a fixed set of enums.
Instead, we implement an enum() function, allowing any native PHP enum to be described.
All enums used in runtime data have been migrated to native PHP 8.1 enums in minor-next to facilitate this.
This implementation:
- is faster (in extreme cases by 40x, such as with PotionType)
- requires way less code
- does not require a build step
- is way more flexible
This fixes #5877, increasing the range of stuff that plugins are now able to do.
EnumTrait enums are not supported, as it's easier and cleaner to just support native enums. Most core EnumTrait enums have been migrated to native enums by now to facilitate this. | 2 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Implement enchanting using enchanting tables (#5953)
Co-authored-by: Dylan K. Taylor <dktapps@pmmp.io> | 2 年前 |
| Implemented End Crystal (#4715)
Co-authored-by: Dylan T. <dktapps@pmmp.io> | 1 年前 |
| Implemented a proper way to handle items cooldown (#6405)
| 1 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Start migrating EnumTrait enums to PHP 8.1 native enums
| 2 年前 |
| Implement firework rocket & firework star (#5455)
Co-authored-by: Dylan T <dktapps@pmmp.io>
Co-authored-by: ipad54 <63200545+ipad54@users.noreply.github.com> | 7 个月前 |
| Fix PHPStan errors on PHP 8.5
| 3 个月前 |
| Implement firework rocket & firework star (#5455)
Co-authored-by: Dylan T <dktapps@pmmp.io>
Co-authored-by: ipad54 <63200545+ipad54@users.noreply.github.com> | 7 个月前 |
| Implement firework rocket & firework star (#5455)
Co-authored-by: Dylan T <dktapps@pmmp.io>
Co-authored-by: ipad54 <63200545+ipad54@users.noreply.github.com> | 7 个月前 |
| FishingRod: make class less useless
| 3 年前 |
| Start migrating EnumTrait enums to PHP 8.1 native enums
| 2 年前 |
| Allow eating in creative & peaceful
closes #5923
closes #6056
| 1 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Migrate all but two remaining legacy enums to native PHP 8.1 enums
| 2 年前 |
| Implement Cave Vines & Glow Berries (#5424)
| 2 年前 |
| Implement Goat horns (#5232)
Co-authored-by: ipad54 <63200545+ipad54@users.noreply.github.com>
Co-authored-by: Dylan T. <dktapps@pmmp.io> | 1 年前 |
| Implement Goat horns (#5232)
Co-authored-by: ipad54 <63200545+ipad54@users.noreply.github.com>
Co-authored-by: Dylan T. <dktapps@pmmp.io> | 1 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Enchanted Golden Apple: Regeneration 5 => 2 matching Java (#6445)
| 1 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Improved placement logic
| 8 个月前 |
| Enable various types of interaction to return items to the player, without needing to have a bunch of boilerplate creative mode and held item checks
it became glaringly obvious that this was needed because of #4827 and #4868.
this is further needed with the addition of cauldrons.
| 3 年前 |
| Implemented honey bottle
| 3 年前 |
| Implement Ice Bomb (#5452)
Co-authored-by: Dylan K. Taylor <dktapps@pmmp.io> | 1 年前 |
| Avoid unnecessary data loss on invalid items in inventories
we were already doing this in some places but not others. So inconsistent...
while this doesn't fix the root cause of #5128, it should nonetheless fix #5128
as well as not destroying player data on unknown items, which was a frequent
annoyance when switching between branches during PR testing.
| 7 个月前 |
| ItemBlock: add a workaround for air items with a stack size bigger than 0
In the future we should look into making empty slots be represented by null or a different, special item type, instead of breaking the air block for this purpose.
closes #6185
closes #6016
| 2 年前 |
| Clean up terminology around block state IDs and their handling
| 3 年前 |
| Implemented a proper way to handle items cooldown (#6405)
| 1 年前 |
| Deal with a whole lot of PHPStan suppressed key casting errors
closes #6534
| 1 年前 |
| ItemTypeIds: added fromBlockTypeId() and toBlockTypeId()
this allows checking the type of a blockitem without being required to create a block to do it.
| 3 年前 |
| Implemented bamboo material blocks
this required a hack for all-sided logs, since bamboo doesn't have any such block
| 4 个月前 |
| Start migrating EnumTrait enums to PHP 8.1 native enums
| 2 年前 |
| New rule: explode() limit parameter must be set
| 1 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Start migrating EnumTrait enums to PHP 8.1 native enums
| 2 年前 |
| RuntimeDataDescriber: Support dynamically describing arbitrary enums (#6039)
Previously, we were using codegen to support describing a fixed set of enums.
Instead, we implement an enum() function, allowing any native PHP enum to be described.
All enums used in runtime data have been migrated to native PHP 8.1 enums in minor-next to facilitate this.
This implementation:
- is faster (in extreme cases by 40x, such as with PotionType)
- requires way less code
- does not require a build step
- is way more flexible
This fixes #5877, increasing the range of stuff that plugins are now able to do.
EnumTrait enums are not supported, as it's easier and cleaner to just support native enums. Most core EnumTrait enums have been migrated to native enums by now to facilitate this. | 2 年前 |
| Migrate all but two remaining legacy enums to native PHP 8.1 enums
| 2 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Implemented working Name tag (#5209)
| 2 年前 |
| Start migrating EnumTrait enums to PHP 8.1 native enums
| 2 年前 |
| Enable various types of interaction to return items to the player, without needing to have a bunch of boilerplate creative mode and held item checks
it became glaringly obvious that this was needed because of #4827 and #4868.
this is further needed with the addition of cauldrons.
| 3 年前 |
| Fix pitcher pod wrongly registered as a block (#6162)
| 2 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Implemented sound when drinking a potion (#6444)
| 1 年前 |
| Migrate all but two remaining legacy enums to native PHP 8.1 enums
| 2 年前 |
| Start migrating EnumTrait enums to PHP 8.1 native enums
| 2 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |