1.5.0.0-PN - 2021-06-11 (Check the milestone)
This was quick! This new version add protocol support for Minecraft 1.17.0
as if it was 1.16.221
.
The new changes will be implemented in 1.5.1.0-PN
and onwards.
This version works with Minecraft 1.16.221
!
Breaking change!
This version supports a new major Minecraft version, some plugin sources might need to be updated or recompiled!
BlockWall.WallType.END_STONE_BRICK
was renamed toEND_BRICK
to match the property- Custom blocks now have to implement
Block.getProperties()
if they need to have custom meta. BlockCauldron.getFillLevel()
and it's setter now range from 0 to 6. Glass bottle remove/add 2 levels instead of one now.- The creative inventory file format has changed
- The recipes file format has changed
BellAttachmentType
was renamed toAttachmentType
BlockBell.getBellAttachmentType
andBlockBell.setBellAttachmentType
were renamed toget/setAttachment
.DoublePlantType
enum had the entries changed to match the property values.BlockMeta
,BlockSolidMeta
, andBlockFallableMeta
now havegetProperties
abstract.CommonBlockProperties.LEGACY_PROPERTY_NAME
,LEGACY_PROPERTIES
, andLEGACY_BIG_PROPERTIES
were removed.MinecraftItemID.DEBUG_STICK
was removed.- All deprecated stuff marked to be removed at this version was removed. Except
AnvilDamageEvent.getDamage()
.
Deprecated
- This is a reminder that numeric block meta are deprecated. Use the specifc block API to make modifications. Come to Discord if you have questions.
- A lot of duplicated BlockIDs are being deprecated, follow the
replaceBy
instructions to use the right ones.
Changed
- All blocks are now using the new block state system.
- We are no longer using
runtime_block_states.dat
andruntime+block_states_overrides.dat
, we are now usingcanonical_block_states.nbt
from pmmp/BedrockData BlockProperties.requireRegisteredProperty
now throwsBlockPropertyNotFoundException
instead ofNoSuchElementException
when the prop is not found.- Some
Entity
magic values have changed - Game rules now have a flag to determine if it can be changed.
Added
- Event to handle player fishing by plugins.
PlayerFishEvent
. - 3 new packets:
AddVolumeEntityPacket
,RemoveVolumeEntityPacket
, andSyncEntityPropertyPacket
Fixes
- Issues with crafting recipes involving charcoal and dyes and ink_sac related items