Package net.minecraft.item
Class CropItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.FoodItem
net.minecraft.item.CropItem
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official attintermediary net/minecraft/class_1432named net/minecraft/item/CropItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings -
Field Summary
FieldsFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, BLOCK_ITEMS, itemGroup, RANDOM -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.item.FoodItem
alwaysEdible, eat, getHungerPoints, getMaxUseTime, getSaturation, getUseAction, isCokkable, method_11371, method_13649, method_16065, method_3367Methods inherited from class net.minecraft.item.Item
addProperty, appendToItemGroup, appendTooltips, beforeBlockBreak, byRawId, canAddTo, canRepair, computeTranslationKey, fromBlock, getBlockBreakingSpeed, getDefaultStack, getEnchantability, getItem, getItemGroup, getMaxCount, getMaxDamage, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, hasEnchantmentGlint, hasProperties, inventoryTick, isDamageable, isEnchantable, isFood, isNetworkSynced, method_16075, method_16080, method_3346, method_3353, method_3356, method_3359, method_3383, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setup, shouldSyncNbtToClient
-
Field Details
-
field_17374
- Mappings:
Namespace Name Mixin selector official aLatt;a:Lblc;intermediary field_17374Lnet/minecraft/class_1432;field_17374:Lnet/minecraft/class_2232;named field_17374Lnet/minecraft/item/CropItem;field_17374:Lnet/minecraft/block/BlockState;
-
-
Constructor Details
-
CropItem
-
-
Method Details
-
useOnBlock
- Overrides:
useOnBlockin classItem- Mappings:
Namespace Name Mixin selector official aLata;a(Laup;)Ladm;intermediary method_16071Lnet/minecraft/class_1069;method_16071(Lnet/minecraft/class_3565;)Lnet/minecraft/class_2962;named useOnBlockLnet/minecraft/item/Item;useOnBlock(Lnet/minecraft/item/ItemUsageContext;)Lnet/minecraft/util/ActionResult;
-