Class PillarBlockBuilder.PillarKubeBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
dev.latvian.mods.kubejs.block.custom.BasicKubeBlock
dev.latvian.mods.kubejs.block.custom.PillarBlockBuilder.PillarKubeBlock
- All Implemented Interfaces:
BlockBehaviourKJS,BlockBuilderProvider,BlockKJS,BlockProviderKJS,RegistryObjectKJS<net.minecraft.world.level.block.Block>,Replaceable,dev.latvian.mods.rhino.util.SpecialEquality,net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.block.BucketPickup,net.minecraft.world.level.block.LiquidBlockContainer,net.minecraft.world.level.block.SimpleWaterloggedBlock,net.minecraft.world.level.ItemLike,net.neoforged.neoforge.common.extensions.IBlockExtension,net.neoforged.neoforge.common.extensions.IBucketPickupExtension
- Direct Known Subclasses:
PillarBlockBuilder.WithEntity
- Enclosing class:
PillarBlockBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from class dev.latvian.mods.kubejs.block.custom.BasicKubeBlock
BasicKubeBlock.Builder, BasicKubeBlock.WithEntityNested 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
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction.Axis> final @Nullable net.minecraft.world.phys.shapes.VoxelShapefinal @Nullable net.minecraft.world.phys.shapes.VoxelShapefinal @Nullable net.minecraft.world.phys.shapes.VoxelShapeFields inherited from class dev.latvian.mods.kubejs.block.custom.BasicKubeBlock
blockBuilder, shapeFields 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 TypeMethodDescriptionprotected voidcreateBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) net.minecraft.world.phys.shapes.VoxelShapegetShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext context) Deprecated.net.minecraft.world.level.block.state.BlockStategetStateForPlacement(@NotNull net.minecraft.world.item.context.BlockPlaceContext context) Methods inherited from class dev.latvian.mods.kubejs.block.custom.BasicKubeBlock
canBeReplaced, canPlaceLiquid, entityInside, fallOn, getFluidState, getPickupSound, getShadeBrightness, getVisualShape, isRandomlyTicking, kjs$getBlockBuilder, mirror, onRemove, pickupBlock, placeLiquid, propagatesSkylightDown, randomTick, rotate, setPlacedBy, skipRendering, stepOn, updateEntityAfterFallOn, updateShape, useItemOn, wasExplodedMethods inherited from class net.minecraft.world.level.block.Block
animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, codec, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, 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, toString, tryDropExperience, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, withPropertiesOfMethods inherited from class net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getSignal, getSoundType, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isPathfindable, isSignalSource, neighborChanged, onExplosionHit, onPlace, onProjectileHit, properties, propertiesCodec, requiredFeatures, simpleCodec, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, useShapeForLightOcclusion, useWithoutItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.latvian.mods.kubejs.core.BlockBehaviourKJS
kjs$setExplosionResistance, kjs$setFriction, kjs$setHasCollision, kjs$setIsRandomlyTicking, kjs$setJumpFactor, kjs$setRandomTickCallback, kjs$setSoundType, kjs$setSpeedFactorMethods inherited from interface dev.latvian.mods.kubejs.core.BlockKJS
kjs$getBlock, kjs$getBlockStates, kjs$setBlockBuilder, kjs$setDestroySpeed, kjs$setLightEmission, kjs$setNameKey, kjs$setRequiresTool, replaceThisWithMethods inherited from interface dev.latvian.mods.kubejs.core.BlockProviderKJS
kjs$asHolder, kjs$getId, kjs$getKey, kjs$getRegistry, kjs$getRegistryId, kjs$getTypeDataMethods 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, shouldHideAdjacentFluidFace, supportsExternalFaceHidingMethods inherited from interface net.neoforged.neoforge.common.extensions.IBucketPickupExtension
getPickupSoundMethods inherited from interface dev.latvian.mods.kubejs.core.RegistryObjectKJS
kjs$getIdLocation, kjs$getMod, kjs$getTagKeys, kjs$getTags, kjs$hasTag, specialEquals
-
Field Details
-
AXIS
public static final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction.Axis> AXIS -
shapeX
@Nullable public final @Nullable net.minecraft.world.phys.shapes.VoxelShape shapeX -
shapeY
@Nullable public final @Nullable net.minecraft.world.phys.shapes.VoxelShape shapeY -
shapeZ
@Nullable public final @Nullable net.minecraft.world.phys.shapes.VoxelShape shapeZ
-
-
Constructor Details
-
PillarKubeBlock
-
-
Method Details
-
createBlockStateDefinition
protected void createBlockStateDefinition(@NotNull net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) - Overrides:
createBlockStateDefinitionin classBasicKubeBlock
-
getStateForPlacement
public net.minecraft.world.level.block.state.BlockState getStateForPlacement(@NotNull @NotNull net.minecraft.world.item.context.BlockPlaceContext context) - Overrides:
getStateForPlacementin classBasicKubeBlock
-
getShape
@Deprecated public net.minecraft.world.phys.shapes.VoxelShape getShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext context) Deprecated.- Overrides:
getShapein classBasicKubeBlock
-