Deprecated API
Contents
-
ClassDescriptionUse BlockPistonEvent
-
FieldDescriptionThis is from NukkitX but it has a typo which we can't remove unless NukkitX removes from their side.Typo. Use
Effect.CONDUIT_POWER
instead.
-
MethodDescriptionThis function is lack of Player class and is not accurate enough, use
Block.getBreakTime(Item, Player)
PowerNukkit: The meta is limited to 32 bitsUseBlockEntityCauldron.setPotionType(int)
instead.If you just simply want to disable the movement check, please usePlayer.setCheckMovement(boolean)
instead.useEnchantment.Rarity.getWeight()
insteadusePlayerFood.setLevel(int)
insteadusePlayerFood.setLevel(int, float)
insteaduseConfig.get(String)
insteaduseConfig.get(String, Object)
insteaduseConfig.get(String)
insteaduseConfig.remove(String)
instead
-
ConstructorDescriptionuse
CommandParameter.newEnum(String, String)
insteaduseCommandParameter.newEnum(String, String[])
insteadReplace withNukkitMetrics.startNow(Server)