Package net.minecraft.item
Class WritableBookItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.WritableBookItem
- Mappings:
Namespace Name official acwintermediary net/minecraft/class_1103named net/minecraft/item/WritableBookItem
-
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, field_6201, field_6941, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisValid(NbtCompound nbt) onStartUse(ItemStack stack, World world, PlayerEntity player) booleanMethods inherited from class net.minecraft.item.Item
appendItemStacks, appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayColor, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, method_3343, method_3355, method_3356, method_3369, method_3378, method_3380, method_3397, method_5462, method_5463, method_6324, onCraft, onEntityHit, onFinishUse, onHit, onUseStopped, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate
-
Constructor Details
-
WritableBookItem
public WritableBookItem()- Mappings:
Namespace Name Mixin selector official <init>Labm;<init>()Vintermediary <init>Lnet/minecraft/class_1069;<init>()Vnamed <init>Lnet/minecraft/item/Item;<init>()V
-
-
Method Details
-
onStartUse
- Overrides:
onStartUsein classItem- Mappings:
Namespace Name Mixin selector official aLabm;a(Labo;Lafm;Lxk;)Labo;intermediary method_3358Lnet/minecraft/class_1069;method_3358(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Lnet/minecraft/class_1071;named onStartUseLnet/minecraft/item/Item;onStartUse(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
-
shouldSyncNbtToClient
public boolean shouldSyncNbtToClient()- Overrides:
shouldSyncNbtToClientin classItem- Mappings:
Namespace Name Mixin selector official sLabm;s()Zintermediary method_3391Lnet/minecraft/class_1069;method_3391()Znamed shouldSyncNbtToClientLnet/minecraft/item/Item;shouldSyncNbtToClient()Z
-
isValid
- Mappings:
Namespace Name Mixin selector official aLacw;a(Ldg;)Zintermediary method_6374Lnet/minecraft/class_1103;method_6374(Lnet/minecraft/class_322;)Znamed isValidLnet/minecraft/item/WritableBookItem;isValid(Lnet/minecraft/nbt/NbtCompound;)Z
-