Class BlockHutLibrary
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
com.minecolonies.api.blocks.AbstractBlockMinecolonies<BlockHutLibrary>
com.minecolonies.api.blocks.AbstractColonyBlock<BlockHutLibrary>
com.minecolonies.api.blocks.AbstractBlockHut<BlockHutLibrary>
com.minecolonies.core.blocks.huts.BlockHutLibrary
- All Implemented Interfaces:
com.ldtteam.structurize.blocks.interfaces.IAnchorBlock,com.ldtteam.structurize.blocks.interfaces.IInvisibleBlueprintAnchorBlock,com.ldtteam.structurize.blocks.interfaces.ILeveledBlueprintAnchorBlock,com.ldtteam.structurize.blocks.interfaces.INamedBlueprintAnchorBlock,com.ldtteam.structurize.blocks.interfaces.IRequirementsBlueprintAnchorBlock,com.ldtteam.structurize.blocks.interfaces.ISpecialCreativeHandlerAnchorBlock,IBlockMinecolonies<BlockHutLibrary>,IBuildingBrowsableBlock,ITickableBlockMinecolonies,IBuilderUndestroyable,net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.block.EntityBlock,net.minecraft.world.level.ItemLike,net.neoforged.neoforge.common.extensions.IBlockExtension
Hut for the library. No different from
AbstractBlockHut-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.Block
net.minecraft.world.level.block.Block.BlockStatePairKeyNested classes/interfaces inherited from class net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase, net.minecraft.world.level.block.state.BlockBehaviour.OffsetFunction, net.minecraft.world.level.block.state.BlockBehaviour.OffsetType, net.minecraft.world.level.block.state.BlockBehaviour.Properties, net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<A>, net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate -
Field Summary
Fields inherited from class com.minecolonies.api.blocks.AbstractColonyBlock
FACING, HARDNESS, RESISTANCEFields inherited from class net.minecraft.world.level.block.Block
BLOCK_STATE_REGISTRY, CODEC, INDESTRUCTIBLE, INSTANT, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SUPPRESS_DROPSFields inherited from class net.minecraft.world.level.block.state.BlockBehaviour
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDERFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod to get the building registry entry.@NotNull StringMethod to return the name of the block.Methods inherited from class com.minecolonies.api.blocks.AbstractBlockHut
appendHoverText, areRequirementsMet, canPlaceAt, canRightClickWithoutPermissions, getBlueprintDisplayName, getBlueprintName, getDesc, getLevel, getRequirements, getStructureHandler, isVisible, onBlockPlacedByBuildTool, registerBlockItem, setupMethods inherited from class com.minecolonies.api.blocks.AbstractColonyBlock
createBlockStateDefinition, getDestroyProgress, getRegistryName, getShape, getStateForPlacement, newBlockEntity, onRemove, registerBlock, rotate, setPlacedBy, useItemOnMethods inherited from class net.minecraft.world.level.block.Block
animateTick, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, codec, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getShapeForEachState, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, initializeClient, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOfMethods inherited from class net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getSignal, getSoundType, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isPathfindable, isRandomlyTicking, isSignalSource, mirror, neighborChanged, onExplosionHit, onPlace, onProjectileHit, propagatesSkylightDown, properties, propertiesCodec, randomTick, requiredFeatures, simpleCodec, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateShape, useShapeForLightOcclusion, useWithoutItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.level.block.EntityBlock
getListenerMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabledMethods inherited from interface 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, isBed, isBurning, isConduitFrame, isEmpty, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onDestroyedByPushReaction, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHidingMethods inherited from interface com.minecolonies.api.blocks.interfaces.IBuildingBrowsableBlock
shouldBrowseBuildingsMethods inherited from interface com.minecolonies.api.blocks.interfaces.ITickableBlockMinecolonies
getTicker
-
Constructor Details
-
BlockHutLibrary
public BlockHutLibrary()
-
-
Method Details
-
getHutName
Description copied from class:AbstractColonyBlockMethod to return the name of the block.- Specified by:
getHutNamein classAbstractColonyBlock<BlockHutLibrary>- Returns:
- Name of the block.
-
getBuildingEntry
Description copied from class:AbstractColonyBlockMethod to get the building registry entry.- Specified by:
getBuildingEntryin classAbstractColonyBlock<BlockHutLibrary>- Returns:
- The building entry.
-