Package net.minecraft.item
Class CropItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.FoodItem
net.minecraft.item.CropItem
- Mappings:
Namespace Name official anbintermediary net/minecraft/class_1432named net/minecraft/item/CropItem
-
Field Summary
FieldsFields 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
Constructors -
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, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
field_7149
- Mappings:
Namespace Name Mixin selector official bLanb;b:Latr;intermediary field_7149Lnet/minecraft/class_1432;field_7149:Lnet/minecraft/class_197;named field_7149Lnet/minecraft/item/CropItem;field_7149:Lnet/minecraft/block/Block;
-
field_7150
- Mappings:
Namespace Name Mixin selector official cLanb;c:Latr;intermediary field_7150Lnet/minecraft/class_1432;field_7150:Lnet/minecraft/class_197;named field_7150Lnet/minecraft/item/CropItem;field_7150:Lnet/minecraft/block/Block;
-
-
Constructor Details
-
CropItem
- Mappings:
Namespace Name Mixin selector official <init>Lanb;<init>(IFLatr;Latr;)Vintermediary <init>Lnet/minecraft/class_1432;<init>(IFLnet/minecraft/class_197;Lnet/minecraft/class_197;)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 aLalq;a(Lamj;Lahd;Laqu;Ldt;Lej;FFF)Zintermediary method_3355Lnet/minecraft/class_1069;method_3355(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;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
-