Package net.minecraft.item
Class LilyPadItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BlockItem
net.minecraft.item.LilyPadItem
- All Implemented Interfaces:
ItemConvertible
public class LilyPadItem extends BlockItem
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, group, RANDOM -
Constructor Summary
Constructors Constructor Description LilyPadItem(Block block, Item.Settings settings) -
Method Summary
Modifier and Type Method Description TypedActionResult<ItemStack>use(World world, PlayerEntity user, Hand hand)ActionResultuseOnBlock(ItemUsageContext context)Methods inherited from class net.minecraft.item.BlockItem
appendBlocks, appendStacks, appendTooltip, canPlace, checkStatePlacement, getBlock, getPlacementContext, getPlacementState, getPlaceSound, getTranslationKey, place, place, postPlacement, writeTagToBlockEntityMethods inherited from class net.minecraft.item.Item
asItem, byRawId, canMine, canRepair, damage, finishUsing, fromBlock, getAttributeModifiers, getDrinkSound, getEatSound, getEnchantability, getFoodComponent, getGroup, getMaxCount, getMaxDamage, getMaxUseTime, getMiningSpeedMultiplier, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getStackForRender, getTranslationKey, getUseAction, hasEnchantmentGlint, hasRecipeRemainder, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFireproof, isFood, isIn, isIn, isNetworkSynced, isUsedOnRelease, onCraft, onStoppedUsing, postHit, postMine, postProcessTag, rayTrace, shouldSyncTagToClient, toString, usageTick, useOnEntity
-
Constructor Details
-
Method Details
-
useOnBlock
- Overrides:
useOnBlockin classBlockItem
-
use
-