Package net.minecraft.item
Class LilyPadItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BlockItem
net.minecraft.item.GrassBlockItem
net.minecraft.item.LilyPadItem
public class LilyPadItem extends GrassBlockItem
- Mappings:
Namespace Name official abbintermediary net/minecraft/class_31named net/minecraft/item/LilyPadItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors Constructor Description LilyPadItem(Block block) -
Method Summary
Modifier and Type Method Description intgetDisplayColor(ItemStack stack, int color)ItemStackonStartUse(ItemStack stack, World world, PlayerEntity player)Methods inherited from class net.minecraft.item.GrassBlockItem
getMeta, getTranslationKey, setNamedMethods inherited from class net.minecraft.item.BlockItem
appendItemStacks, getBlock, getItemGroup, getTranslationKey, method_8182, setBlockEntityTag, setTranslationKey, useMethods inherited from class net.minecraft.item.Item
appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayName, getEnchantability, getFromId, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, onBlockBroken, onCraft, onEntityHit, onFinishUse, onHit, onUseStopped, postProcessTag, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setUnbreakable, setup, shouldRotate, shouldSyncTagToClient
-
Constructor Details
-
LilyPadItem
- Mappings:
Namespace Name Mixin selector official <init>Lyo;<init>(Lafh;)Vintermediary <init>Lnet/minecraft/class_2018;<init>(Lnet/minecraft/class_160;)Vnamed <init>Lnet/minecraft/item/BlockItem;<init>(Lnet/minecraft/block/Block;)V
-
-
Method Details
-
onStartUse
- Overrides:
onStartUsein classItem- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;Ladm;Lwn;)Lzx;intermediary method_8260Lnet/minecraft/class_2054;method_8260(Lnet/minecraft/class_2056;Lnet/minecraft/class_99;Lnet/minecraft/class_1963;)Lnet/minecraft/class_2056;named onStartUseLnet/minecraft/item/Item;onStartUse(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
-
getDisplayColor
- Overrides:
getDisplayColorin classGrassBlockItem- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;I)Iintermediary method_8257Lnet/minecraft/class_2054;method_8257(Lnet/minecraft/class_2056;I)Inamed getDisplayColorLnet/minecraft/item/Item;getDisplayColor(Lnet/minecraft/item/ItemStack;I)I
-