Class CustomPathBlock

java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.rotgruengelb.quirl.lib.block.CustomPathBlock
All Implemented Interfaces:
net.minecraft.item.ItemConvertible, net.minecraft.resource.featuretoggle.ToggleableFeature

public class CustomPathBlock extends net.minecraft.block.Block
  • Nested Class Summary

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

    net.minecraft.block.Block.NeighborGroup

    Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock

    net.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.ContextPredicate, net.minecraft.block.AbstractBlock.Offsetter, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.Settings, net.minecraft.block.AbstractBlock.TypedContextPredicate<A extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final net.minecraft.util.shape.VoxelShape
     

    Fields inherited from class net.minecraft.block.Block

    field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, STATE_IDS, stateManager

    Fields inherited from class net.minecraft.block.AbstractBlock

    collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplier

    Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature

    FEATURE_ENABLED_REGISTRY_KEYS
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomPathBlock(net.minecraft.block.AbstractBlock.Settings settings, net.minecraft.block.Block baseBlock)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canPathfindThrough(net.minecraft.block.BlockState state, net.minecraft.world.BlockView world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.ai.pathing.NavigationType type)
     
    boolean
    canPlaceAt(net.minecraft.block.BlockState state, net.minecraft.world.WorldView world, net.minecraft.util.math.BlockPos pos)
     
    net.minecraft.block.Block
     
    net.minecraft.util.shape.VoxelShape
    getOutlineShape(net.minecraft.block.BlockState state, net.minecraft.world.BlockView world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.ShapeContext context)
     
    net.minecraft.block.BlockState
    getPlacementState(net.minecraft.item.ItemPlacementContext ctx)
     
    net.minecraft.block.BlockState
    getStateForNeighborUpdate(net.minecraft.block.BlockState state, net.minecraft.util.math.Direction direction, net.minecraft.block.BlockState neighborState, net.minecraft.world.WorldAccess world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.BlockPos neighborPos)
     
    boolean
    hasSidedTransparency(net.minecraft.block.BlockState state)
     
    void
    scheduledTick(net.minecraft.block.BlockState state, net.minecraft.server.world.ServerWorld world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.random.Random random)
     
    static void
    setToBaseBlock(@Nullable net.minecraft.entity.Entity entity, net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
     

    Methods inherited from class net.minecraft.block.Block

    afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTransparent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString

    Methods inherited from class net.minecraft.block.AbstractBlock

    calcBlockBreakingDelta, canBucketPlace, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature

    isEnabled
  • Field Details

    • SHAPE

      protected static final net.minecraft.util.shape.VoxelShape SHAPE
  • Constructor Details

    • CustomPathBlock

      public CustomPathBlock(net.minecraft.block.AbstractBlock.Settings settings, net.minecraft.block.Block baseBlock)
  • Method Details

    • setToBaseBlock

      public static void setToBaseBlock(@Nullable @Nullable net.minecraft.entity.Entity entity, net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
    • hasSidedTransparency

      public boolean hasSidedTransparency(net.minecraft.block.BlockState state)
      Overrides:
      hasSidedTransparency in class net.minecraft.block.AbstractBlock
    • getBaseBlock

      public net.minecraft.block.Block getBaseBlock()
    • getPlacementState

      public net.minecraft.block.BlockState getPlacementState(net.minecraft.item.ItemPlacementContext ctx)
      Overrides:
      getPlacementState in class net.minecraft.block.Block
    • getStateForNeighborUpdate

      public net.minecraft.block.BlockState getStateForNeighborUpdate(net.minecraft.block.BlockState state, net.minecraft.util.math.Direction direction, net.minecraft.block.BlockState neighborState, net.minecraft.world.WorldAccess world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.BlockPos neighborPos)
      Overrides:
      getStateForNeighborUpdate in class net.minecraft.block.AbstractBlock
    • scheduledTick

      public void scheduledTick(net.minecraft.block.BlockState state, net.minecraft.server.world.ServerWorld world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.random.Random random)
      Overrides:
      scheduledTick in class net.minecraft.block.AbstractBlock
    • canPlaceAt

      public boolean canPlaceAt(net.minecraft.block.BlockState state, net.minecraft.world.WorldView world, net.minecraft.util.math.BlockPos pos)
      Overrides:
      canPlaceAt in class net.minecraft.block.AbstractBlock
    • getOutlineShape

      public net.minecraft.util.shape.VoxelShape getOutlineShape(net.minecraft.block.BlockState state, net.minecraft.world.BlockView world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.ShapeContext context)
      Overrides:
      getOutlineShape in class net.minecraft.block.AbstractBlock
    • canPathfindThrough

      public boolean canPathfindThrough(net.minecraft.block.BlockState state, net.minecraft.world.BlockView world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.ai.pathing.NavigationType type)
      Overrides:
      canPathfindThrough in class net.minecraft.block.AbstractBlock