public class ItemFragileFluidContainer extends ItemBC_Neptune implements IItemFluidShard
Modifier and Type | Class and Description |
---|---|
class |
ItemFragileFluidContainer.FragileFluidHandler |
Modifier and Type | Field and Description |
---|---|
static int |
MAX_FLUID_HELD |
id
Constructor and Description |
---|
ItemFragileFluidContainer(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
addFluidDrops(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> toDrop,
net.minecraftforge.fluids.FluidStack fluid) |
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
java.util.List<java.lang.String> tooltip,
net.minecraft.client.util.ITooltipFlag flagIn) |
protected void |
addSubItems(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> items)
Identical to
ItemBC_Neptune.getSubItems(CreativeTabs, NonNullList) in every way, EXCEPT that this is only called if
this is actually in the given creative tab. |
java.lang.String |
getItemStackDisplayName(net.minecraft.item.ItemStack stack) |
net.minecraftforge.common.capabilities.ICapabilityProvider |
initCapabilities(net.minecraft.item.ItemStack stack,
net.minecraft.nbt.NBTTagCompound nbt) |
getSubItems, id
addPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canDisableShield, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getCreatorModId, getDamage, getDefaultInstance, getDestroySpeed, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemBurnTime, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isInCreativeTab, isMap, isRepairable, isShield, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemRightClick, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addModelVariants, addVariant, init, registerVariants
public static final int MAX_FLUID_HELD
public net.minecraftforge.common.capabilities.ICapabilityProvider initCapabilities(net.minecraft.item.ItemStack stack, net.minecraft.nbt.NBTTagCompound nbt)
initCapabilities
in class net.minecraft.item.Item
protected void addSubItems(net.minecraft.creativetab.CreativeTabs tab, net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> items)
ItemBC_Neptune
ItemBC_Neptune.getSubItems(CreativeTabs, NonNullList)
in every way, EXCEPT that this is only called if
this is actually in the given creative tab.addSubItems
in class ItemBC_Neptune
tab
- The CreativeTabs
to display the items in. This is provided just in case an item has multiple
subtypes, split across different tabspublic java.lang.String getItemStackDisplayName(net.minecraft.item.ItemStack stack)
getItemStackDisplayName
in class net.minecraft.item.Item
public void addInformation(net.minecraft.item.ItemStack stack, @Nullable net.minecraft.world.World worldIn, java.util.List<java.lang.String> tooltip, net.minecraft.client.util.ITooltipFlag flagIn)
addInformation
in class net.minecraft.item.Item
public void addFluidDrops(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> toDrop, net.minecraftforge.fluids.FluidStack fluid)
addFluidDrops
in interface IItemFluidShard