public class ItemWerewolfFlesh
extends net.minecraft.item.Item
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemWerewolfFlesh.ItemColor |
| Modifier and Type | Field and Description |
|---|---|
static int |
MINECRAFT_DAY
The length of one Minecraft day.
|
| Constructor and Description |
|---|
ItemWerewolfFlesh(net.minecraft.item.Item.Properties properties,
boolean humanoid) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> list,
net.minecraft.client.util.ITooltipFlag flag) |
void |
dropHumanoidFleshEvent(net.minecraftforge.event.entity.living.LivingDeathEvent event) |
net.minecraft.item.Rarity |
getRarity(net.minecraft.item.ItemStack itemStack) |
boolean |
hasEffect(net.minecraft.item.ItemStack itemStack) |
void |
inventoryTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity player,
int par4,
boolean par5) |
static boolean |
isDay(net.minecraft.world.World world)
Check if it's day in this world.
|
net.minecraft.item.ItemStack |
onItemUseFinish(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.LivingEntity entity) |
asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, fillItemGroup, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getDrinkSound, getEatSound, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getTags, getToolTypes, getTranslationKey, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hitEntity, isComplex, isCrossbow, isDamageable, isDamageable, isEnchantable, isFood, isImmuneToFire, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemRightClick, onItemUse, onPlayerStoppedUsing, onUse, rayTrace, shouldSyncTag, toString, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic static final int MINECRAFT_DAY
public ItemWerewolfFlesh(net.minecraft.item.Item.Properties properties,
boolean humanoid)
public static boolean isDay(net.minecraft.world.World world)
world - The world.public net.minecraft.item.Rarity getRarity(net.minecraft.item.ItemStack itemStack)
getRarity in class net.minecraft.item.Itempublic boolean hasEffect(net.minecraft.item.ItemStack itemStack)
hasEffect in class net.minecraft.item.Itempublic void inventoryTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity player,
int par4,
boolean par5)
inventoryTick in class net.minecraft.item.Itempublic net.minecraft.item.ItemStack onItemUseFinish(net.minecraft.item.ItemStack itemStack,
@Nullable
net.minecraft.world.World world,
net.minecraft.entity.LivingEntity entity)
onItemUseFinish in class net.minecraft.item.Itempublic void addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> list,
net.minecraft.client.util.ITooltipFlag flag)
addInformation in class net.minecraft.item.Itempublic void dropHumanoidFleshEvent(net.minecraftforge.event.entity.living.LivingDeathEvent event)