Package net.minecraft.item
Class MinecartItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.MinecartItem
- Mappings:
Namespace Name official adyintermediary net/minecraft/class_1075named net/minecraft/item/MinecartItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DispenserBehaviorprivate final AbstractMinecartEntity.TypeFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmethod_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, BlockPos blockPos, Hand hand, Direction direction, float float2, float float3, float float4) Methods inherited from class net.minecraft.item.Item
addProperty, appendItemStacks, appendTooltip, byRawId, canRepair, fromBlock, getBlockBreakingSpeed, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasProperties, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, method_11373, method_3346, method_3353, method_3356, method_3359, method_3367, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
MINECART_BEHAVIOR
- Mappings:
Namespace Name Mixin selector official aLady;a:Lct;intermediary field_6203Lnet/minecraft/class_1075;field_6203:Lnet/minecraft/class_1348;named MINECART_BEHAVIORLnet/minecraft/item/MinecartItem;MINECART_BEHAVIOR:Lnet/minecraft/block/dispenser/DispenserBehavior;
-
minecartType
- Mappings:
Namespace Name Mixin selector official bLady;b:Laah$a;intermediary field_9147Lnet/minecraft/class_1075;field_9147:Lnet/minecraft/class_965$class_2638;named minecartTypeLnet/minecraft/item/MinecartItem;minecartType:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-
-
Constructor Details
-
MinecartItem
- Mappings:
Namespace Name Mixin selector official <init>Lady;<init>(Laah$a;)Vintermediary <init>Lnet/minecraft/class_1075;<init>(Lnet/minecraft/class_965$class_2638;)Vnamed <init>Lnet/minecraft/item/MinecartItem;<init>(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;)V
-
-
Method Details
-
method_3355
public ActionResult method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, BlockPos blockPos, Hand hand, Direction direction, float float2, float float3, float float4) - Overrides:
method_3355in classItem- Mappings:
Namespace Name Mixin selector official aLado;a(Ladq;Lzj;Laht;Lcl;Lqm;Lcs;FFF)Lqo;intermediary 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_2961;Lnet/minecraft/class_1354;FFF)Lnet/minecraft/class_2962;named method_3355Lnet/minecraft/item/Item;method_3355(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Lnet/minecraft/util/ActionResult;
-