public static class BlockLiquidHopper.ItemBlockLiquidHopper extends net.minecraft.item.BlockItem implements ColorHandlers.ITintableItem, IFluidRendered
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TANK_NAME |
| Constructor and Description |
|---|
ItemBlockLiquidHopper(net.minecraft.block.Block block) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
getContainerItem(net.minecraft.item.ItemStack itemStack) |
IFluidItemRenderInfoProvider |
getFluidItemRenderer() |
int |
getTintColor(net.minecraft.item.ItemStack stack,
int tintIndex) |
boolean |
hasContainerItem(net.minecraft.item.ItemStack stack) |
net.minecraftforge.common.capabilities.ICapabilityProvider |
initCapabilities(net.minecraft.item.ItemStack stack,
net.minecraft.nbt.CompoundNBT nbt) |
appendHoverText, canPlace, fillItemCategory, getBlock, getDescriptionId, getPlacementState, getPlaceSound, getPlaceSound, mustSurvive, place, placeBlock, registerBlocks, removeFromBlockToItemMap, updateCustomBlockEntityTag, updateCustomBlockEntityTag, updatePlacementContext, useOnallowdedIn, asItem, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, finishUsingItem, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTags, getToolTypes, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, is, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, use, useOnRelease, verifyTagAfterLoadgetRegistryName, 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, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasCustomEntity, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic static final java.lang.String TANK_NAME
public ItemBlockLiquidHopper(net.minecraft.block.Block block)
public boolean hasContainerItem(net.minecraft.item.ItemStack stack)
hasContainerItem in interface net.minecraftforge.common.extensions.IForgeItempublic net.minecraft.item.ItemStack getContainerItem(net.minecraft.item.ItemStack itemStack)
getContainerItem in interface net.minecraftforge.common.extensions.IForgeItem@Nullable
public net.minecraftforge.common.capabilities.ICapabilityProvider initCapabilities(net.minecraft.item.ItemStack stack,
@Nullable
net.minecraft.nbt.CompoundNBT nbt)
initCapabilities in interface net.minecraftforge.common.extensions.IForgeItempublic int getTintColor(net.minecraft.item.ItemStack stack,
int tintIndex)
getTintColor in interface ColorHandlers.ITintableItempublic IFluidItemRenderInfoProvider getFluidItemRenderer()
getFluidItemRenderer in interface IFluidRendered