Class PillarBlockBuilder.WithEntity
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
dev.latvian.mods.kubejs.block.custom.PillarBlockBuilder.WithEntity
- 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.EntityBlock,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
- Enclosing class:
PillarBlockBuilder
public static class PillarBlockBuilder.WithEntity
extends PillarBlockBuilder.PillarKubeBlock
implements net.minecraft.world.level.block.EntityBlock
-
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
Fields inherited from class dev.latvian.mods.kubejs.block.custom.PillarBlockBuilder.PillarKubeBlock
AXIS, shapeX, shapeY, shapeZFields 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 TypeMethodDescription<T extends net.minecraft.world.level.block.entity.BlockEntity>
@Nullable net.minecraft.world.level.block.entity.BlockEntityTicker<T> getTicker(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntityType<T> blockEntityType) @Nullable net.minecraft.world.level.block.entity.BlockEntitynewBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) Methods inherited from class dev.latvian.mods.kubejs.block.custom.PillarBlockBuilder.PillarKubeBlock
createBlockStateDefinition, getShape, getStateForPlacementMethods 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.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, 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
-
Constructor Details
-
WithEntity
-
-
Method Details
-
newBlockEntity
@Nullable public @Nullable net.minecraft.world.level.block.entity.BlockEntity newBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) - Specified by:
newBlockEntityin interfacenet.minecraft.world.level.block.EntityBlock
-
getTicker
@Nullable public <T extends net.minecraft.world.level.block.entity.BlockEntity> @Nullable net.minecraft.world.level.block.entity.BlockEntityTicker<T> getTicker(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntityType<T> blockEntityType) - Specified by:
getTickerin interfacenet.minecraft.world.level.block.EntityBlock
-