Class CreativeFluidTankBlockEntity

java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
All Implemented Interfaces:
IHaveCustomOverlayIcon, IHaveGoggleInformation, PartialSafeNBT, SpecialBlockEntityItemRequirement, IMultiBlockEntityContainer, IMultiBlockEntityContainer.Fluid, IInteractionChecker, net.createmod.ponder.api.VirtualBlockEntity, net.neoforged.neoforge.attachment.IAttachmentHolder, net.neoforged.neoforge.common.extensions.IBlockEntityExtension

public class CreativeFluidTankBlockEntity extends FluidTankBlockEntity
  • Constructor Details

    • CreativeFluidTankBlockEntity

      public CreativeFluidTankBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • registerCapabilities

      public static void registerCapabilities(net.neoforged.neoforge.capabilities.RegisterCapabilitiesEvent event)
    • createInventory

      protected SmartFluidTank createInventory()
      Overrides:
      createInventory in class FluidTankBlockEntity
    • addToGoggleTooltip

      public boolean addToGoggleTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking)
      Description copied from interface: IHaveGoggleInformation
      This method will be called when looking at a BlockEntity that implements this interface
      Specified by:
      addToGoggleTooltip in interface IHaveGoggleInformation
      Overrides:
      addToGoggleTooltip in class FluidTankBlockEntity
      Returns:
      true if the tooltip creation was successful and should be displayed, or false if the overlay should not be displayed