Class HTStorageBlock
-
- All Implemented Interfaces:
-
hiiragi283.core.api.block.HTBlockWithDescription,hiiragi283.core.common.block.HTBlockWithEntity,hiiragi283.core.common.gui.factory.HTBlockWidgetHolderContext.Factory,net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike,net.minecraft.world.level.block.EntityBlock,net.neoforged.neoforge.common.extensions.IBlockExtension
public abstract class HTStorageBlock extends HTBasicEntityBlock implements HTBlockWithDescription, HTBlockWidgetHolderContext.Factory
-
-
Field Summary
Fields Modifier and Type Field Description private final StringdescriptionIdprivate final FloatjumpFactorprivate final FloatspeedFactorprivate final Floatfrictionprivate final ResourceKey<LootTable>lootTableprivate final StateDefinition<Block, BlockState>stateDefinitionprivate final FloatexplosionResistanceprivate final MutableComponentname
-
Constructor Summary
Constructors Constructor Description HTStorageBlock(HTDeferredBlockEntityType<?> type, BlockBehaviour.Properties properties)
-
Method Summary
Modifier and Type Method Description final Unitsetup(HTBlockWidgetHolderContext context, HTWidgetHolder widgetHolder)-
Methods inherited from class net.minecraft.world.level.block.Block
animateTick, appendHoverText, builtInRegistryHolder, defaultBlockState, destroy, dropFromExplosion, fallOn, getCloneItemStack, getDescriptionId, getExplosionResistance, getFriction, getJumpFactor, getName, getSpeedFactor, getStateDefinition, getStateForPlacement, handlePrecipitation, hasDynamicShape, initializeClient, isPossibleToRespawnInThis, playerDestroy, playerWillDestroy, popExperience, stepOn, updateEntityAfterFallOn, wasExploded, withPropertiesOf -
Methods inherited from class net.minecraft.world.level.block.state.BlockBehaviour
asItem, defaultDestroyTime, defaultMapColor, getLootTable, properties -
Methods inherited from class hiiragi283.core.common.block.HTBasicEntityBlock
getBlockEntityType, setPlacedBy -
Methods inherited from class net.neoforged.neoforge.common.extensions.IBlockExtension
addLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, canSustainPlant, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getBubbleColumnDirection, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getPistonPushReaction, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasDynamicLightEmission, hidesNeighborFace, ignitedByLava, isBed, isBurning, isConduitFrame, isEmpty, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onDestroyedByPushReaction, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, shouldHideAdjacentFluidFace, supportsExternalFaceHiding -
Methods inherited from class net.minecraft.world.flag.FeatureElement
isEnabled, requiredFeatures -
Methods inherited from class hiiragi283.core.common.block.HTBlockWithEntity
getTicker, newBlockEntity -
Methods inherited from class net.minecraft.world.level.block.EntityBlock
getListener -
Methods inherited from class hiiragi283.core.api.block.HTBlockWithDescription
getDescription -
Methods inherited from class hiiragi283.core.common.gui.factory.HTBlockWidgetHolderContext.Factory
createContext, getDisplayName, stillValid -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-