Package org.geysermc.geyser.item.type
Class WrittenBookItem
java.lang.Object
org.geysermc.geyser.item.type.Item
org.geysermc.geyser.item.type.WritableBookItem
org.geysermc.geyser.item.type.WrittenBookItem
-
Nested Class Summary
Nested classes/interfaces inherited from class org.geysermc.geyser.item.type.Item
Item.Builder -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtranslateNbtToBedrock(@NonNull GeyserSession session, @NonNull com.github.steveice10.opennbt.tag.builtin.CompoundTag tag) Takes NBT from Java Edition and converts any value that Bedrock parses differently.Methods inherited from class org.geysermc.geyser.item.type.WritableBookItem
translateNbtToJavaMethods inherited from class org.geysermc.geyser.item.type.Item
attackDamage, builder, isValidRepairItem, javaId, javaIdentifier, maxDamage, maxStackSize, newItemStack, remapEnchantment, setJavaId, toBedrockDefinition, toString, translateToBedrock, translateToJava
-
Field Details
-
MAXIMUM_PAGE_EDIT_LENGTH
public static final int MAXIMUM_PAGE_EDIT_LENGTH- See Also:
-
MAXIMUM_PAGE_LENGTH
public static final int MAXIMUM_PAGE_LENGTH- See Also:
-
MAXIMUM_PAGE_COUNT
public static final int MAXIMUM_PAGE_COUNT- See Also:
-
MAXIMUM_TITLE_LENGTH
public static final int MAXIMUM_TITLE_LENGTH- See Also:
-
-
Constructor Details
-
WrittenBookItem
-
-
Method Details
-
translateNbtToBedrock
public void translateNbtToBedrock(@NonNull GeyserSession session, @NonNull com.github.steveice10.opennbt.tag.builtin.CompoundTag tag) Description copied from class:ItemTakes NBT from Java Edition and converts any value that Bedrock parses differently.- Overrides:
translateNbtToBedrockin classWritableBookItem
-