public class ItemSeedFood extends ItemFood implements IPlantable
Item.Properties
ATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, BLOCK_TO_ITEM, canRepair, group, properties, random
delegate
Constructor and Description |
---|
ItemSeedFood(int healAmountIn,
float saturation,
Block crop,
Item.Properties builder) |
Modifier and Type | Method and Description |
---|---|
IBlockState |
getPlant(IBlockReader world,
BlockPos pos) |
EnumPlantType |
getPlantType(IBlockReader world,
BlockPos pos) |
EnumActionResult |
onItemUse(ItemUseContext p_195939_1_) |
getHealAmount, getSaturationModifier, getUseAction, getUseDuration, isMeat, onFoodEaten, onItemRightClick, onItemUseFinish, setAlwaysEdible, setFastEating, setPotionEffect
addInformation, addPropertyOverride, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, fillItemGroup, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getMaxDamage, getMaxStackSize, getName, getPropertyGetter, getRarity, getShareTag, getTileEntityItemStackRenderer, getToolTypes, getTranslationKey, getTranslationKey, hasContainerItem, hasCustomProperties, hasEffect, hitEntity, inventoryTick, isComplex, isDamageable, isEnchantable, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onPlayerStoppedUsing, rayTrace, register, registerItems, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canEquip, canHarvestBlock, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getHorseArmorType, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamaged, isShield, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBar
public ItemSeedFood(int healAmountIn, float saturation, Block crop, Item.Properties builder)
public EnumActionResult onItemUse(ItemUseContext p_195939_1_)
public EnumPlantType getPlantType(IBlockReader world, BlockPos pos)
getPlantType
in interface IPlantable
public IBlockState getPlant(IBlockReader world, BlockPos pos)
getPlant
in interface IPlantable