public class EntangledChaliceItem extends ItemBlockFluidContainer
EntangledChalice blockState.informationProvider, rarityProvider| Constructor and Description |
|---|
EntangledChaliceItem(net.minecraft.block.Block block)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
autofill(net.minecraftforge.fluids.capability.IFluidHandler source,
net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity) |
net.minecraftforge.fluids.FluidStack |
getFluid(net.minecraft.item.ItemStack container) |
java.lang.String |
getTankID(net.minecraft.item.ItemStack container)
Get the tank id from the container.
|
protected void |
setFluid(net.minecraft.item.ItemStack container,
net.minecraftforge.fluids.FluidStack fluidStack) |
void |
setNextTankID(net.minecraft.item.ItemStack container)
Set a new unique tank id for the container.
|
void |
setTankID(net.minecraft.item.ItemStack container,
java.lang.String tankID)
Set the tank id for the container.
|
addInformation, drain, fill, getBlockTank, getCapacity, initCapabilities, onItemRightClick, onUpdate, readAdditionalInfo, setCapacity, shouldCauseReequipAnimationcanPlaceBlockOnSide, getBlock, getCreativeTab, getSubItems, getUnlocalizedName, getUnlocalizedName, onItemUse, setTileEntityNBT, setUnlocalizedNameaddPropertyOverride, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTabs, getDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getPropertyGetter, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTpublic EntangledChaliceItem(net.minecraft.block.Block block)
block - The blockState instance.public java.lang.String getTankID(net.minecraft.item.ItemStack container)
container - The chalice item container.public void setTankID(net.minecraft.item.ItemStack container,
java.lang.String tankID)
container - The chalice item container.tankID - The tank id.public void setNextTankID(net.minecraft.item.ItemStack container)
container - The chalice item container.public net.minecraftforge.fluids.FluidStack getFluid(net.minecraft.item.ItemStack container)
getFluid in interface net.minecraftforge.fluids.IFluidContainerItemgetFluid in class ItemBlockFluidContainerprotected void setFluid(net.minecraft.item.ItemStack container,
net.minecraftforge.fluids.FluidStack fluidStack)
setFluid in class ItemBlockFluidContainerprotected void autofill(net.minecraftforge.fluids.capability.IFluidHandler source,
net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity)
autofill in class ItemBlockFluidContainer