Package net.minecraft.item
Class MinecartItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.MinecartItem
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official atlintermediary net/minecraft/class_1075named net/minecraft/item/MinecartItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings -
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, BLOCK_ITEMS, itemGroup, RANDOM -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.item.Item
addProperty, appendToItemGroup, appendTooltips, beforeBlockBreak, byRawId, canAddTo, canRepair, computeTranslationKey, fromBlock, getBlockBreakingSpeed, getDefaultStack, getEnchantability, getItem, getItemGroup, getMaxCount, getMaxDamage, getMaxUseTime, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasProperties, inventoryTick, isDamageable, isEnchantable, isFood, isNetworkSynced, method_13649, method_16075, method_16080, method_3346, method_3353, method_3356, method_3359, method_3367, method_3383, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setup, shouldSyncNbtToClient
-
Field Details
-
MINECART_BEHAVIOR
- Mappings:
Namespace Name Mixin selector official aLatl;a:Les;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 bLatl;b:Laph$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
-
-
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;
-