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 Klassen
    Modifizierer und Typ
    Klasse
    Beschreibung
    static class 
     
    static class 
     

    Von 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

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final PostBlock.Variant
     
    static final List<PostBlock.Variant>
     
    static final PostBlock.Variant
     
    static final PostBlock.Variant
     
    static final PostBlock.Variant
     
    static final PostBlock.Variant
     
    static final PostBlock.Variant
     
    static final PostBlock.Variant
     
    static final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction>
     
    static final PostBlock.Variant
     
    static final PostBlock.Variant
     
    static final PostBlock.Variant
     
    static final PostBlock.Variant
     
    static final PostBlock.Variant
     
    static final String
     
    static final PostBlock.Variant
     
    static final PostBlock.Variant
     
    static final PostBlock.Variant
     
     
     
    static final PostBlock.Variant
     

    Von 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_DROPS

    Von Klasse geerbte Felder net.minecraft.world.level.block.state.BlockBehaviour

    descriptionId, drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDER

    Von Schnittstelle geerbte Felder net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    PostBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties, PostBlock.ModelType type, PostBlock.Variant variant)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected @NotNull com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.block.BaseEntityBlock>
     
    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)
     
    static net.minecraft.world.level.block.Block[]
     
    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)
     
    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)
     
    net.minecraft.world.level.material.FluidState
    getFluidState(net.minecraft.world.level.block.state.BlockState state)
     
    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)
     
    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)
     
    net.minecraft.world.level.block.state.BlockState
    getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext context)
     
    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)
     
    boolean
     
    net.minecraft.world.level.block.state.BlockState
    mirror(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror mirrorIn)
     
    net.minecraft.world.level.block.entity.BlockEntity
    newBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    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)
     
    protected boolean
    propagatesSkylightDown(net.minecraft.world.level.block.state.BlockState state)
     
    net.minecraft.world.level.block.state.BlockState
    rotate(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation rot)
     
    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)
     
    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)
     
    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)
     
    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)
     

    Von Klasse geerbte Methoden net.minecraft.world.level.block.BaseEntityBlock

    createTickerHelper, getMenuProvider, triggerEvent

    Von 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, withPropertiesOf

    Von 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, useShapeForLightOcclusion

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Von Schnittstelle geerbte Methoden net.minecraft.world.level.block.EntityBlock

    getListener, getTicker

    Von Schnittstelle geerbte Methoden net.minecraft.world.flag.FeatureElement

    isEnabled

    Von 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, supportsExternalFaceHiding

    Von Schnittstelle geerbte Methoden net.neoforged.neoforge.common.extensions.IBucketPickupExtension

    getPickupSound

    Von Schnittstelle geerbte Methoden net.minecraft.world.level.block.SimpleWaterloggedBlock

    canPlaceLiquid, getPickupSound, pickupBlock, placeLiquid
  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • hasDynamicShape

      public boolean hasDynamicShape()
      Setzt außer Kraft:
      hasDynamicShape in Klasse net.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:
      setPlacedBy in Klasse net.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:
      getShape in Klasse net.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:
      getInteractionShape in Klasse net.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:
      getVisualShape in Klasse net.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:
      getFluidState in Klasse net.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:
      newBlockEntity in Schnittstelle net.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:
      createBlockStateDefinition in Klasse net.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:
      getCollisionShape in Klasse net.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:
      useWithoutItem in Klasse net.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:
      useItemOn in Klasse net.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:
      getStateForPlacement in Klasse net.minecraft.world.level.block.Block
    • propagatesSkylightDown

      protected boolean propagatesSkylightDown(net.minecraft.world.level.block.state.BlockState state)
      Setzt außer Kraft:
      propagatesSkylightDown in Klasse net.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:
      rotate in Klasse net.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:
      mirror in Klasse net.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:
      getCloneItemStack in Klasse net.minecraft.world.level.block.state.BlockBehaviour
    • codec

      @NotNull protected @NotNull com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.block.BaseEntityBlock> codec()
      Angegeben von:
      codec in Klasse net.minecraft.world.level.block.BaseEntityBlock