Deprecated API
Contents
-
ElementDescription
-
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.
-
MethodDescriptionPowerNukkit: The meta is limited to 32 bitsUse
BlockEntityCauldron.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)