1.2.1.0-PN - 2020-06-07 (Check the milestone)
Adds new methods to be used by plugins and fixes many issues.
Upcoming breaking change
The following breaking change will be pulled in 1.3.0.0-PN
- 8a09f93 Quick craft implementation. (NukkitX#1473) Jedrzej* 05/06/2020
Fixes
- #224 Enchantment compatibility rules when merging enchanted items in an anvil
- #113 Beehives not dropping in creative when it has bees
- #270 Replacing sugarcane's water don't break the sugarcane immediately
- #272
EntityPortalEnterEvent
not being fired when entering end portals - #279
BlockEndPortal
missing collision bounding box - #279
Entity.checkBlockCollision()
's over scaffolding logic outdated - #281 Levers and buttons don't replace the snow layers
- #285 Chicken, cow, pig, rabbit and sheep not dropping cooked food when on fire
- #285 Chorus plant and flower not dropping
- #285 Item string placing tripwire hooks instead of tripwires
- #285 Wrong block name and color for dark prismarine block and prismarine bricks
- #285 Nether bricks fence were burnable and flammable
- #285 Item on hands disappear (looses one from the stack) when interacting with chest minecarts and hopper minecarts
Added
- #227 PlayerJumpEvent called when jump packets are received.
- #242
Item.equalsIgnoringEnchantmentOrder
method for public usage. - #244
Enchantment.getPowerNukkit().isItemAcceptable(Item)
to check if an enchantment can exist
in a given item stack by any non-hack means. - #256
CapturingCommandSender
intended to capture output of commands which don't require players. - #259
Hash.hashBlock(Vector3)
method for public usage. - #261
Player.isCheckingMovement()
method for public usage. - #261 Protected field
EntityEndCrystal.detonated
to disable theEndCrystal.explode()
method. - #275 New annotations to document when elements get added and when deprecated elements will be removed
- #123 Adds and register the banner pattern items
- #276
Block.afterRemoval()
called automatically when the block is replaced using anyLevel.setBlock()
- #277
Block.mustSilkTouch()
andBlock.mustDrop()
to allow blocks to force the dropping behaviour when being broken - #279
Entity.isInEndPortal()
for public usage - #285
LoginChainData.getRawData()
for public usage
Changed
- #227 Sugar canes now fires BlockGrowEvent when growing naturally.
- #261 Kicked players can now view the kick reason on kick.
- #285 Limit the maximum size of BookEditPacket's text to 256, ignoring the packet if it exceeds the limit
- #285 Ender pearls will now be unable to teleport players across different dimensions
- #285
ShortTag.load(NBTInputStream)
now reads a signed short. Used to read an unsigned short.