Class RodBaseBlock

java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
io.github.vampirestudios.vampirelib.blocks.DirectionalBlock
io.github.vampirestudios.vampirelib.blocks.RodBaseBlock
All Implemented Interfaces:
net.minecraft.world.level.ItemLike

public class RodBaseBlock extends DirectionalBlock
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.level.block.Block

    net.minecraft.world.level.block.Block.BlockStatePairKey

    Nested 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.OffsetType, net.minecraft.world.level.block.state.BlockBehaviour.Properties, net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<A extends Object>, net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final net.minecraft.world.phys.shapes.VoxelShape
     
    protected static final net.minecraft.world.phys.shapes.VoxelShape
     
    protected static final net.minecraft.world.phys.shapes.VoxelShape
     

    Fields inherited from class io.github.vampirestudios.vampirelib.blocks.DirectionalBlock

    FACING

    Fields inherited from class net.minecraft.world.level.block.Block

    BLOCK_STATE_REGISTRY, 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_DROPS, UPDATE_SUPPRESS_LIGHT

    Fields inherited from class net.minecraft.world.level.block.state.BlockBehaviour

    drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, soundType, speedFactor, UPDATE_SHAPE_ORDER
  • Constructor Summary

    Constructors
    Constructor
    Description
    RodBaseBlock(boolean emitsLight)
     
    RodBaseBlock(net.minecraft.world.level.material.Material material, boolean emitsLight)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canSurvive(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.LevelReader viewableWorld_1, net.minecraft.core.BlockPos blockPos_1)
     
    protected void
    createBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.state.BlockState> stateFactory$Builder_1)
     
    void
    fillItemCategory(net.minecraft.world.item.CreativeModeTab group, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> list)
     
    net.minecraft.world.phys.shapes.VoxelShape
    getInteractionShape(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.BlockGetter blockView_1, net.minecraft.core.BlockPos blockPos_1)
     
    net.minecraft.world.level.block.state.BlockState
    getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext itemPlacementContext_1)
     
    net.minecraft.world.level.block.state.BlockState
    mirror(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.block.Mirror mirror_1)
     
    boolean
    propagatesSkylightDown(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.BlockGetter blockView_1, net.minecraft.core.BlockPos blockPos_1)
     
    net.minecraft.world.level.block.state.BlockState
    rotate(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.block.Rotation rotation_1)
     

    Methods inherited from class net.minecraft.world.level.block.Block

    animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getShapeForEachState, getSoundType, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOf

    Methods inherited from class net.minecraft.world.level.block.state.BlockBehaviour

    attack, canBeReplaced, canBeReplaced, defaultDestroyTime, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getShape, getSignal, getVisualShape, hasAnalogOutputSignal, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isPathfindable, isSignalSource, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, updateShape, use, useShapeForLightOcclusion

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • BB_AXIS_Y

      protected static final net.minecraft.world.phys.shapes.VoxelShape BB_AXIS_Y
    • BB_AXIS_Z

      protected static final net.minecraft.world.phys.shapes.VoxelShape BB_AXIS_Z
    • BB_AXIS_X

      protected static final net.minecraft.world.phys.shapes.VoxelShape BB_AXIS_X
  • Constructor Details

    • RodBaseBlock

      public RodBaseBlock(boolean emitsLight)
    • RodBaseBlock

      public RodBaseBlock(net.minecraft.world.level.material.Material material, boolean emitsLight)
  • Method Details

    • fillItemCategory

      public void fillItemCategory(net.minecraft.world.item.CreativeModeTab group, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> list)
      Overrides:
      fillItemCategory in class net.minecraft.world.level.block.Block
    • rotate

      public net.minecraft.world.level.block.state.BlockState rotate(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.block.Rotation rotation_1)
      Overrides:
      rotate in class net.minecraft.world.level.block.state.BlockBehaviour
    • mirror

      public net.minecraft.world.level.block.state.BlockState mirror(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.block.Mirror mirror_1)
      Overrides:
      mirror in class net.minecraft.world.level.block.state.BlockBehaviour
    • getInteractionShape

      public net.minecraft.world.phys.shapes.VoxelShape getInteractionShape(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.BlockGetter blockView_1, net.minecraft.core.BlockPos blockPos_1)
      Overrides:
      getInteractionShape in class net.minecraft.world.level.block.state.BlockBehaviour
    • propagatesSkylightDown

      public boolean propagatesSkylightDown(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.BlockGetter blockView_1, net.minecraft.core.BlockPos blockPos_1)
      Overrides:
      propagatesSkylightDown in class net.minecraft.world.level.block.Block
    • canSurvive

      public boolean canSurvive(net.minecraft.world.level.block.state.BlockState blockState_1, net.minecraft.world.level.LevelReader viewableWorld_1, net.minecraft.core.BlockPos blockPos_1)
      Overrides:
      canSurvive in class net.minecraft.world.level.block.state.BlockBehaviour
    • getStateForPlacement

      public net.minecraft.world.level.block.state.BlockState getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext itemPlacementContext_1)
      Overrides:
      getStateForPlacement in class net.minecraft.world.level.block.Block
    • 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> stateFactory$Builder_1)
      Overrides:
      createBlockStateDefinition in class net.minecraft.world.level.block.Block