Class CreativeFluidTankTileEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
com.simibubi.create.foundation.tileEntity.SyncedTileEntity
com.simibubi.create.foundation.tileEntity.CachedRenderBBTileEntity
com.simibubi.create.foundation.tileEntity.SmartTileEntity
com.simibubi.create.content.contraptions.fluids.tank.FluidTankTileEntity
com.simibubi.create.content.contraptions.fluids.tank.CreativeFluidTankTileEntity
- All Implemented Interfaces:
IHaveGoggleInformation,IMultiTileContainer,IInteractionChecker,IPartialSafeNBT,net.minecraftforge.common.capabilities.ICapabilityProvider,net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.level.block.entity.BlockEntity>,net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>,net.minecraftforge.common.extensions.IForgeBlockEntity,net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>>Nested classes/interfaces inherited from interface com.simibubi.create.content.contraptions.goggles.IHaveGoggleInformation
IHaveGoggleInformation.Format -
Field Summary
Fields inherited from class com.simibubi.create.content.contraptions.fluids.tank.FluidTankTileEntity
controller, fluidCapability, forceFluidLevelUpdate, height, lastKnownPos, luminosity, queuedSync, syncCooldown, tankInventory, updateConnectivity, width, windowFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPositionFields inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity
INFINITE_EXTENT_AABBFields inherited from interface com.simibubi.create.content.contraptions.goggles.IHaveGoggleInformation
componentSpacing, numberFormat, spacing -
Constructor Summary
ConstructorsConstructorDescriptionCreativeFluidTankTileEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddToGoggleTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking) this method will be called when looking at a TileEntity that implemented this interfaceprotected SmartFluidTankMethods inherited from class com.simibubi.create.content.contraptions.fluids.tank.FluidTankTileEntity
addBehaviours, applyFluidTankSize, createRenderBoundingBox, getCapability, getCapacityMultiplier, getController, getControllerTE, getFillState, getFluidLevel, getLastKnownPos, getMaxHeight, getMaxSize, getOtherFluidTankTileEntity, getTankInventory, getTotalTankSize, initialize, isController, onFluidStackChanged, read, removeController, sendData, sendDataImmediately, setController, setFluidLevel, setLuminosity, setRemoved, setWindows, tick, toggleWindows, updateConnectivity, writeMethods inherited from class com.simibubi.create.foundation.tileEntity.SmartTileEntity
addBehavioursDeferred, attachBehaviourLate, canPlayerUse, forEachBehaviour, getBehaviour, getRequiredItems, isFluidHandlerCap, isItemHandlerCap, isVirtual, lazyTick, load, markVirtual, onChunkUnloaded, readClient, refreshBlockState, removeBehaviour, saveAdditional, sendToContainer, setLazyTickRate, setRemovedNotDueToChunkUnload, writeClient, writeSafeMethods inherited from class com.simibubi.create.foundation.tileEntity.CachedRenderBBTileEntity
getRenderBoundingBox, invalidateRenderBoundingBoxMethods inherited from class com.simibubi.create.foundation.tileEntity.SyncedTileEntity
causeBlockUpdate, containedChunk, getUpdatePacket, getUpdateTag, handleUpdateTag, notifyUpdate, onDataPacket, packetTargetMethods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getTileData, getType, hasLevel, isRemoved, loadStatic, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, triggerEventMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapabilityMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity
deserializeNBT, getModelData, onLoad, requestModelDataUpdate, serializeNBTMethods inherited from interface com.simibubi.create.content.contraptions.goggles.IHaveGoggleInformation
containedFluidTooltip
-
Constructor Details
-
CreativeFluidTankTileEntity
public CreativeFluidTankTileEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
createInventory
- Overrides:
createInventoryin classFluidTankTileEntity
-
addToGoggleTooltip
public boolean addToGoggleTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking) Description copied from interface:IHaveGoggleInformationthis method will be called when looking at a TileEntity that implemented this interface- Specified by:
addToGoggleTooltipin interfaceIHaveGoggleInformation- Overrides:
addToGoggleTooltipin classFluidTankTileEntity- Returns:
trueif the tooltip creation was successful and should be displayed, orfalseif the overlay should not be displayed
-