Package hiiragi283.ragium.common.block
Class HTMachineBlock
-
- 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 class HTMachineBlock extends HTHorizontalEntityBlock implements HTBlockWithDescription, HTBlockWidgetHolderContext.Factory
-
-
Field Summary
Fields Modifier and Type Field Description public final static BooleanPropertyIS_ACTIVEprivate 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 HTMachineBlock(HTTranslation translation, HTDeferredBlockEntityType<?> type, BlockBehaviour.Properties properties)
-
Method Summary
Modifier and Type Method Description HTTranslationgetDescription()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, 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.HTHorizontalEntityBlock
getStateForPlacement -
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 hiiragi283.core.common.block.HTBasicEntityBlock
getBlockEntityType, setPlacedBy -
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.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
-
-
Method Detail
-
getDescription
HTTranslation getDescription()
-
-
-
-