Klasse PostBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.BaseEntityBlock
gollorum.signpost.minecraft.block.PostBlock
- Alle implementierten Schnittstellen:
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
public final class PostBlock
extends net.minecraft.world.level.block.BaseEntityBlock
implements net.minecraft.world.level.block.SimpleWaterloggedBlock
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classstatic classVon Klasse geerbte verschachtelte Klassen/Schnittstellen 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 -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final PostBlock.Variantstatic final List<PostBlock.Variant> static final PostBlock.Variantstatic final PostBlock.Variantstatic final PostBlock.Variantstatic final PostBlock.Variantstatic final PostBlock.Variantstatic final PostBlock.Variantstatic final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction> static final PostBlock.Variantstatic final PostBlock.Variantstatic final PostBlock.Variantstatic final PostBlock.Variantstatic final PostBlock.Variantstatic final Stringstatic final PostBlock.Variantstatic final PostBlock.Variantstatic final PostBlock.Variantfinal PostBlock.ModelTypefinal PostBlock.Variantstatic final PostBlock.VariantVon Klasse geerbte Felder 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_SKIP_ALL_SIDEEFFECTS, UPDATE_SKIP_BLOCK_ENTITY_SIDEEFFECTS, UPDATE_SKIP_ON_PLACE, UPDATE_SKIP_SHAPE_UPDATE_ON_WIRE, UPDATE_SUPPRESS_DROPSVon Klasse geerbte Felder net.minecraft.world.level.block.state.BlockBehaviour
descriptionId, drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDERVon Schnittstelle geerbte Felder net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPostBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties, PostBlock.ModelType type, PostBlock.Variant variant) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected @NotNull com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.block.BaseEntityBlock> codec()protected voidcreateBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) static net.minecraft.world.level.block.Block[]protected net.minecraft.world.item.ItemStackgetCloneItemStack(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, boolean includeData) net.minecraft.world.phys.shapes.VoxelShapegetCollisionShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter worldIn, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext context) net.minecraft.world.level.material.FluidStategetFluidState(net.minecraft.world.level.block.state.BlockState state) protected net.minecraft.world.phys.shapes.VoxelShapegetInteractionShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos) net.minecraft.world.phys.shapes.VoxelShapegetShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext context) net.minecraft.world.level.block.state.BlockStategetStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext context) protected net.minecraft.world.phys.shapes.VoxelShapegetVisualShape(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) booleannet.minecraft.world.level.block.state.BlockStatemirror(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror mirrorIn) net.minecraft.world.level.block.entity.BlockEntitynewBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) static net.minecraft.world.InteractionResultonActivate(PostTile tile, net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) protected booleanpropagatesSkylightDown(net.minecraft.world.level.block.state.BlockState state) net.minecraft.world.level.block.state.BlockStaterotate(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation rot) voidsetPlacedBy(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.entity.LivingEntity placer, net.minecraft.world.item.ItemStack currentStack) net.minecraft.world.InteractionResultuse(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) protected net.minecraft.world.InteractionResultuseItemOn(net.minecraft.world.item.ItemStack item, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hitResult) protected net.minecraft.world.InteractionResultuseWithoutItem(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hitResult) Von Klasse geerbte Methoden net.minecraft.world.level.block.BaseEntityBlock
createTickerHelper, getMenuProvider, triggerEventVon Klasse geerbte Methoden net.minecraft.world.level.block.Block
animateTick, asBlock, asItem, box, boxes, boxZ, boxZ, boxZ, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, column, column, cube, cube, defaultBlockState, destroy, dropFromBlockInteractLootTable, dropFromExplosion, dropFromLootTable, dropResources, dropResources, dropResources, fallOn, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getShapeForEachState, getShapeForEachState, getSpeedFactor, getStateDefinition, handlePrecipitation, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, shouldRenderFace, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityMovementAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOfVon Klasse geerbte Methoden net.minecraft.world.level.block.state.BlockBehaviour
affectNeighborsAfterRemoval, attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getDescriptionId, getDestroyProgress, getDirectSignal, getDrops, getEntityInsideCollisionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getSignal, getSoundType, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isPathfindable, isRandomlyTicking, isSignalSource, neighborChanged, onExplosionHit, onPlace, onProjectileHit, properties, propertiesCodec, randomTick, requiredFeatures, shouldChangedStateKeepBlockEntity, simpleCodec, skipRendering, spawnAfterBreak, tick, updateIndirectNeighbourShapes, updateShape, useShapeForLightOcclusionVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden net.minecraft.world.level.block.EntityBlock
getListener, getTickerVon Schnittstelle geerbte Methoden net.minecraft.world.flag.FeatureElement
isEnabledVon Schnittstelle geerbte Methoden 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, playFallSound, playStepSound, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, shouldHideAdjacentFluidFace, supportsExternalFaceHidingVon Schnittstelle geerbte Methoden net.neoforged.neoforge.common.extensions.IBucketPickupExtension
getPickupSoundVon Schnittstelle geerbte Methoden net.minecraft.world.level.block.SimpleWaterloggedBlock
canPlaceLiquid, getPickupSound, pickupBlock, placeLiquid
-
Felddetails
-
Facing
public static final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction> Facing -
REGISTRY_NAME
- Siehe auch:
-
STONE
-
IRON
-
OAK
-
DARK_OAK
-
SPRUCE
-
BIRCH
-
JUNGLE
-
ACACIA
-
MANGROVE
-
BAMBOO
-
CHERRY
-
WARPED
-
CRIMSON
-
SANDSTONE
-
BROWN_MUSHROOM
-
RED_MUSHROOM
-
AllVariants
-
type
-
variant
-
-
Konstruktordetails
-
PostBlock
public PostBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties, PostBlock.ModelType type, PostBlock.Variant variant)
-
-
Methodendetails
-
hasDynamicShape
public boolean hasDynamicShape()- Setzt außer Kraft:
hasDynamicShapein Klassenet.minecraft.world.level.block.Block
-
getAllBlocks
public static net.minecraft.world.level.block.Block[] getAllBlocks() -
setPlacedBy
public void setPlacedBy(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.entity.LivingEntity placer, net.minecraft.world.item.ItemStack currentStack) - Setzt außer Kraft:
setPlacedByin Klassenet.minecraft.world.level.block.Block
-
getShape
public net.minecraft.world.phys.shapes.VoxelShape getShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext context) - Setzt außer Kraft:
getShapein Klassenet.minecraft.world.level.block.state.BlockBehaviour
-
getInteractionShape
protected net.minecraft.world.phys.shapes.VoxelShape getInteractionShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos) - Setzt außer Kraft:
getInteractionShapein Klassenet.minecraft.world.level.block.state.BlockBehaviour
-
getVisualShape
protected net.minecraft.world.phys.shapes.VoxelShape getVisualShape(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) - Setzt außer Kraft:
getVisualShapein Klassenet.minecraft.world.level.block.state.BlockBehaviour
-
getFluidState
public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.world.level.block.state.BlockState state) - Setzt außer Kraft:
getFluidStatein Klassenet.minecraft.world.level.block.state.BlockBehaviour
-
newBlockEntity
public net.minecraft.world.level.block.entity.BlockEntity newBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) - Angegeben von:
newBlockEntityin Schnittstellenet.minecraft.world.level.block.EntityBlock
-
createBlockStateDefinition
protected void createBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) - Setzt außer Kraft:
createBlockStateDefinitionin Klassenet.minecraft.world.level.block.Block
-
getCollisionShape
public net.minecraft.world.phys.shapes.VoxelShape getCollisionShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter worldIn, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.CollisionContext context) - Setzt außer Kraft:
getCollisionShapein Klassenet.minecraft.world.level.block.state.BlockBehaviour
-
useWithoutItem
protected net.minecraft.world.InteractionResult useWithoutItem(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hitResult) - Setzt außer Kraft:
useWithoutItemin Klassenet.minecraft.world.level.block.state.BlockBehaviour
-
useItemOn
protected net.minecraft.world.InteractionResult useItemOn(net.minecraft.world.item.ItemStack item, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hitResult) - Setzt außer Kraft:
useItemOnin Klassenet.minecraft.world.level.block.state.BlockBehaviour
-
use
public net.minecraft.world.InteractionResult use(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) -
onActivate
public static net.minecraft.world.InteractionResult onActivate(PostTile tile, net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) -
getStateForPlacement
public net.minecraft.world.level.block.state.BlockState getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext context) - Setzt außer Kraft:
getStateForPlacementin Klassenet.minecraft.world.level.block.Block
-
propagatesSkylightDown
protected boolean propagatesSkylightDown(net.minecraft.world.level.block.state.BlockState state) - Setzt außer Kraft:
propagatesSkylightDownin Klassenet.minecraft.world.level.block.state.BlockBehaviour
-
rotate
public net.minecraft.world.level.block.state.BlockState rotate(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation rot) - Setzt außer Kraft:
rotatein Klassenet.minecraft.world.level.block.state.BlockBehaviour
-
mirror
public net.minecraft.world.level.block.state.BlockState mirror(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror mirrorIn) - Setzt außer Kraft:
mirrorin Klassenet.minecraft.world.level.block.state.BlockBehaviour
-
getCloneItemStack
protected net.minecraft.world.item.ItemStack getCloneItemStack(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, boolean includeData) - Setzt außer Kraft:
getCloneItemStackin Klassenet.minecraft.world.level.block.state.BlockBehaviour
-
codec
@NotNull protected @NotNull com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.block.BaseEntityBlock> codec()- Angegeben von:
codecin Klassenet.minecraft.world.level.block.BaseEntityBlock
-