Package net.minecraft.item
Class CropItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.FoodItem
net.minecraft.item.CropItem
public class CropItem extends FoodItem
- Mappings:
Namespace Name official aanintermediary net/minecraft/class_16named net/minecraft/item/CropItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields inherited from class net.minecraft.item.FoodItem
eatingTimeFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.item.FoodItem
alwaysEdible, eat, getHungerPoints, getMaxUseTime, getSaturation, getUseAction, isCokkable, onFinishUse, onStartUse, setStatusEffectMethods inherited from class net.minecraft.item.Item
appendItemStacks, appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayColor, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMeta, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, onBlockBroken, onCraft, onEntityHit, onHit, onUseStopped, postProcessTag, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncTagToClient
-
Field Details
-
field_50
- Mappings:
Namespace Name Mixin selector official bLaan;b:Lafh;intermediary field_50Lnet/minecraft/class_16;field_50:Lnet/minecraft/class_160;named field_50Lnet/minecraft/item/CropItem;field_50:Lnet/minecraft/block/Block;
-
field_51
- Mappings:
Namespace Name Mixin selector official cLaan;c:Lafh;intermediary field_51Lnet/minecraft/class_16;field_51:Lnet/minecraft/class_160;named field_51Lnet/minecraft/item/CropItem;field_51:Lnet/minecraft/block/Block;
-
-
Constructor Details
-
CropItem
- Mappings:
Namespace Name Mixin selector official <init>Laan;<init>(IFLafh;Lafh;)Vintermediary <init>Lnet/minecraft/class_16;<init>(IFLnet/minecraft/class_160;Lnet/minecraft/class_160;)Vnamed <init>Lnet/minecraft/item/CropItem;<init>(IFLnet/minecraft/block/Block;Lnet/minecraft/block/Block;)V
-
-
Method Details
-
use
public boolean use(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ)- Overrides:
usein classItem- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;Lwn;Ladm;Lcj;Lcq;FFF)Zintermediary method_8264Lnet/minecraft/class_2054;method_8264(Lnet/minecraft/class_2056;Lnet/minecraft/class_1963;Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;FFF)Znamed useLnet/minecraft/item/Item;use(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;FFF)Z
-