public class ItemPrimedPendant extends ItemBloodContainer
canPickUpcomponent, fluid| Constructor and Description |
|---|
ItemPrimedPendant(net.minecraft.item.Item.Properties properties) |
| 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) |
net.minecraft.inventory.container.INamedContainerProvider |
getContainer(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity playerEntity,
int itemIndex,
net.minecraft.util.Hand hand,
net.minecraft.item.ItemStack itemStack) |
java.lang.Class<? extends net.minecraft.inventory.container.Container> |
getContainerClass(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity playerEntity,
net.minecraft.item.ItemStack itemStack) |
protected net.minecraft.stats.Stat<net.minecraft.util.ResourceLocation> |
getOpenStat() |
net.minecraft.item.ItemStack |
getPotionStack(net.minecraft.item.ItemStack itemStack) |
net.minecraft.inventory.IInventory |
getSupplementaryInventory(net.minecraft.item.ItemStack itemStack)
Get the supplementary inventory of the item.
|
net.minecraft.inventory.IInventory |
getSupplementaryInventory(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.item.ItemStack itemStack,
int itemIndex,
net.minecraft.util.Hand hand)
Get the supplementary inventory of the item.
|
boolean |
hasEffect(net.minecraft.item.ItemStack itemStack) |
boolean |
hasPotionStack(net.minecraft.item.ItemStack itemStack) |
void |
inventoryTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int par4,
boolean par5) |
boolean |
onDroppedByPlayer(net.minecraft.item.ItemStack itemstack,
net.minecraft.entity.player.PlayerEntity player) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand) |
void |
openGuiForItemIndex(net.minecraft.world.World world,
net.minecraft.entity.player.ServerPlayerEntity player,
int itemIndex,
net.minecraft.util.Hand hand) |
void |
writeExtraGuiData(net.minecraft.network.PacketBuffer packetBuffer,
net.minecraft.world.World world,
net.minecraft.entity.player.ServerPlayerEntity player,
int itemIndex,
net.minecraft.util.Hand hand) |
canConsume, consume, doesSneakBypassUse, drainFromOthers, isPickupFluids, isPlaceFluids, onItemUseFirst, setPlaceFluidscanDrain, fillItemGroup, getDurabilityForDisplay, getFluid, getInfo, getRGBDurabilityForDisplay, initCapabilities, provideInformation, showDurabilityBarasItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getDrinkSound, getEatSound, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getRarity, getTags, getToolTypes, getTranslationKey, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hitEntity, isComplex, isCrossbow, isDamageable, isDamageable, isEnchantable, isFood, isImmuneToFire, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemUse, onItemUseFinish, 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, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimationpublic ItemPrimedPendant(net.minecraft.item.Item.Properties properties)
public 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 org.cyclops.cyclopscore.item.DamageIndicatedItemFluidContainerpublic void inventoryTick(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int par4,
boolean par5)
inventoryTick in class net.minecraft.item.Itempublic boolean hasPotionStack(net.minecraft.item.ItemStack itemStack)
public net.minecraft.item.ItemStack getPotionStack(net.minecraft.item.ItemStack itemStack)
public boolean hasEffect(net.minecraft.item.ItemStack itemStack)
hasEffect in class net.minecraft.item.Itempublic net.minecraft.inventory.IInventory getSupplementaryInventory(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.item.ItemStack itemStack,
int itemIndex,
net.minecraft.util.Hand hand)
player - The player using the item.itemStack - The item stack.itemIndex - The item index.hand - The hand the item is in.public net.minecraft.inventory.IInventory getSupplementaryInventory(net.minecraft.item.ItemStack itemStack)
itemStack - The item stack.@Nullable
public net.minecraft.inventory.container.INamedContainerProvider getContainer(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity playerEntity,
int itemIndex,
net.minecraft.util.Hand hand,
net.minecraft.item.ItemStack itemStack)
public java.lang.Class<? extends net.minecraft.inventory.container.Container> getContainerClass(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity playerEntity,
net.minecraft.item.ItemStack itemStack)
public boolean onDroppedByPlayer(net.minecraft.item.ItemStack itemstack,
net.minecraft.entity.player.PlayerEntity player)
public void openGuiForItemIndex(net.minecraft.world.World world,
net.minecraft.entity.player.ServerPlayerEntity player,
int itemIndex,
net.minecraft.util.Hand hand)
public void writeExtraGuiData(net.minecraft.network.PacketBuffer packetBuffer,
net.minecraft.world.World world,
net.minecraft.entity.player.ServerPlayerEntity player,
int itemIndex,
net.minecraft.util.Hand hand)
@Nullable protected net.minecraft.stats.Stat<net.minecraft.util.ResourceLocation> getOpenStat()
public net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand)
onItemRightClick in class ItemBloodContainer