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
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      HTMachineBlock(HTTranslation translation, HTDeferredBlockEntityType<?> type, BlockBehaviour.Properties properties)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      HTTranslation getDescription()
      Unit setup(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
    • Constructor Detail

      • HTMachineBlock

        HTMachineBlock(HTTranslation translation, HTDeferredBlockEntityType<?> type, BlockBehaviour.Properties properties)
    • Method Detail

      • setup

         Unit setup(HTBlockWidgetHolderContext context, HTWidgetHolder widgetHolder)