Class FrictionHeaterBlockEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
com.simibubi.create.foundation.blockEntity.SyncedBlockEntity
com.simibubi.create.foundation.blockEntity.CachedRenderBBBlockEntity
com.simibubi.create.foundation.blockEntity.SmartBlockEntity
petrolpark.mc.library.compat.create.core.world.block.composite.CompositeKineticBlockEntity
petrolpark.mc.petrolsparts.content.processing.frictionHeater.FrictionHeaterBlockEntity
- All Implemented Interfaces:
com.simibubi.create.api.equipment.goggles.IHaveCustomOverlayIcon,com.simibubi.create.api.equipment.goggles.IHaveGoggleInformation,com.simibubi.create.api.equipment.goggles.IHaveHoveringInformation,com.simibubi.create.api.schematic.nbt.PartialSafeNBT,com.simibubi.create.api.schematic.requirement.SpecialBlockEntityItemRequirement,com.simibubi.create.foundation.utility.IInteractionChecker,net.createmod.ponder.api.VirtualBlockEntity,net.neoforged.neoforge.attachment.IAttachmentHolder,net.neoforged.neoforge.common.extensions.IBlockEntityExtension
public class FrictionHeaterBlockEntity
extends petrolpark.mc.library.compat.create.core.world.block.composite.CompositeKineticBlockEntity
implements com.simibubi.create.api.equipment.goggles.IHaveHoveringInformation, com.simibubi.create.api.equipment.goggles.IHaveGoggleInformation
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class petrolpark.mc.library.compat.create.core.world.block.composite.CompositeKineticBlockEntity
petrolpark.mc.library.compat.create.core.world.block.composite.CompositeKineticBlockEntity.CompositeKineticBlockEntityPart, petrolpark.mc.library.compat.create.core.world.block.composite.CompositeKineticBlockEntity.GeneratingCompositeKineticBlockEntityPartNested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BlockEntity.DataComponentInputNested classes/interfaces inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
net.neoforged.neoforge.attachment.AttachmentHolder.AsField -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected petrolpark.mc.library.compat.create.core.world.block.entity.behaviour.FlagPoleBehaviourprotected final List<FrictionHeaterBlockEntity.Part> protected booleanFields inherited from class com.simibubi.create.foundation.blockEntity.SmartBlockEntity
lazyTickCounter, lazyTickRateFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPositionFields inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEY -
Constructor Summary
ConstructorsConstructorDescriptionFrictionHeaterBlockEntity(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 TypeMethodDescriptionvoidaddBehaviours(List<com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour> behaviours) booleanaddToGoggleTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking) floatgetParts()floatstatic final net.minecraft.network.chat.Componentprotected voidread(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) voidstatic final net.minecraft.network.chat.Componentvoidtick()static final net.minecraft.network.chat.Componentvoidprotected voidwrite(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) Methods inherited from class petrolpark.mc.library.compat.create.core.world.block.composite.CompositeKineticBlockEntity
addMultiParts, destroy, initialize, invalidate, lazyTick, onChunkUnloaded, preventSpeedUpdates, queueRotationIndicators, remove, removeExistingKineticInformation, setBlockState, setLevel, streamAnyMethods inherited from class com.simibubi.create.foundation.blockEntity.SmartBlockEntity
addBehavioursDeferred, attachBehaviourLate, award, awardIfNear, canPlayerUse, forEachBehaviour, getAllBehaviours, getBehaviour, getRequiredItems, isChunkUnloaded, isVirtual, loadAdditional, markVirtual, readClient, refreshBlockState, registerAwardables, removeBehaviour, saveAdditional, sendToMenu, setLazyTickRate, setRemoved, writeClient, writeSafeMethods inherited from class com.simibubi.create.foundation.blockEntity.CachedRenderBBBlockEntity
createRenderBoundingBox, getRenderBoundingBox, invalidateRenderBoundingBoxMethods inherited from class com.simibubi.create.foundation.blockEntity.SyncedBlockEntity
blockHolderGetter, getUpdatePacket, getUpdateTag, handleUpdateTag, notifyUpdate, onDataPacket, sendDataMethods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, removeComponentsFromTag, removeData, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setChanged, setChanged, setComponents, setData, syncData, triggerEventMethods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
deserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, serializeAttachmentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData, syncDataMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension
getModelData, hasCustomOutlineRendering, invalidateCapabilities, onLoad, requestModelDataUpdateMethods inherited from interface com.simibubi.create.api.equipment.goggles.IHaveCustomOverlayIcon
getIconMethods inherited from interface com.simibubi.create.api.equipment.goggles.IHaveGoggleInformation
containedFluidTooltipMethods inherited from interface com.simibubi.create.api.equipment.goggles.IHaveHoveringInformation
addToTooltip
-
Field Details
-
topPart
-
bottomPart
-
parts
-
flagPole
protected petrolpark.mc.library.compat.create.core.world.block.entity.behaviour.FlagPoleBehaviour flagPole -
updateHeatNextTick
protected boolean updateHeatNextTick
-
-
Constructor Details
-
FrictionHeaterBlockEntity
public FrictionHeaterBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
addBehaviours
public void addBehaviours(List<com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour> behaviours) - Specified by:
addBehavioursin classcom.simibubi.create.foundation.blockEntity.SmartBlockEntity
-
getParts
- Specified by:
getPartsin classpetrolpark.mc.library.compat.create.core.world.block.composite.CompositeKineticBlockEntity
-
updateHeat
public void updateHeat() -
getHeatedThreshold
public float getHeatedThreshold() -
getSuperHeatedThreshold
public float getSuperHeatedThreshold() -
spawnParticles
public void spawnParticles() -
tick
public void tick()- Overrides:
tickin classpetrolpark.mc.library.compat.create.core.world.block.composite.CompositeKineticBlockEntity
-
read
protected void read(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) - Overrides:
readin classpetrolpark.mc.library.compat.create.core.world.block.composite.CompositeKineticBlockEntity
-
write
protected void write(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) - Overrides:
writein classpetrolpark.mc.library.compat.create.core.world.block.composite.CompositeKineticBlockEntity
-
addToGoggleTooltip
public boolean addToGoggleTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking) - Specified by:
addToGoggleTooltipin interfacecom.simibubi.create.api.equipment.goggles.IHaveGoggleInformation
-
unheatedComponent
public static final net.minecraft.network.chat.Component unheatedComponent() -
heatedComponent
public static final net.minecraft.network.chat.Component heatedComponent() -
superHeatedComponent
public static final net.minecraft.network.chat.Component superHeatedComponent()
-