java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<net.minecraft.world.level.block.Block>
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
com.simibubi.create.content.logistics.trains.track.TrackBlock
All Implemented Interfaces:
IWrenchable, ITrackBlock, ISpecialBlockItemRequirement, ITE<TrackTileEntity>, ProperWaterloggedBlock, 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.minecraftforge.common.extensions.IForgeBlock, net.minecraftforge.common.extensions.IForgeBucketPickup, net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.world.level.block.Block>

public class TrackBlock extends net.minecraft.world.level.block.Block implements ITE<TrackTileEntity>, IWrenchable, ITrackBlock, ISpecialBlockItemRequirement, ProperWaterloggedBlock
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    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

    Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry

    net.minecraftforge.registries.ForgeRegistryEntry.UncheckedRegistryEntry<V extends net.minecraftforge.registries.IForgeRegistryEntry<V>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.world.level.block.state.properties.BooleanProperty
     
    static final net.minecraft.world.level.block.state.properties.EnumProperty<TrackShape>
     

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

    BLOCK_STATE_REGISTRY, INDESTRUCTIBLE, INSTANT, RANDOM, 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

    Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry

    delegate

    Fields inherited from interface com.simibubi.create.foundation.block.ProperWaterloggedBlock

    WATERLOGGED
  • Constructor Summary

    Constructors
    Constructor
    Description
    TrackBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties p_49795_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    animateTick(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, Random pRand)
     
    boolean
    canSurvive(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader reader, net.minecraft.core.BlockPos pos)
     
    protected void
    connectToNether(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    protected void
    createBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.state.BlockState> p_49915_)
     
    net.minecraft.world.level.block.state.BlockState
    getBogeyAnchor(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    net.minecraft.world.phys.shapes.VoxelShape
    getCollisionShape(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.BlockGetter pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.phys.shapes.CollisionContext pContext)
     
    getConnected(net.minecraft.world.level.BlockGetter worldIn, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, boolean linear, TrackNodeLocation connectedTo)
     
    net.minecraft.world.phys.Vec3
    getCurveStart(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 axis)
     
    net.minecraft.world.level.material.FluidState
    getFluidState(net.minecraft.world.level.block.state.BlockState state)
     
    net.minecraft.world.phys.shapes.VoxelShape
    getInteractionShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter pLevel, net.minecraft.core.BlockPos pPos)
     
    protected Pair<net.minecraft.server.level.ServerLevel,BlockFace>
    getOtherSide(net.minecraft.server.level.ServerLevel level, BlockFace inboundTrack)
     
    net.minecraft.world.level.material.PushReaction
    getPistonPushReaction(net.minecraft.world.level.block.state.BlockState pState)
     
    getRequiredItems(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntity te)
     
    net.minecraft.world.phys.shapes.VoxelShape
    getShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter p_60556_, net.minecraft.core.BlockPos p_60557_, net.minecraft.world.phys.shapes.CollisionContext p_60558_)
     
    net.minecraft.world.level.block.state.BlockState
    getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext ctx)
     
     
    net.minecraft.world.level.block.entity.BlockEntityType<? extends TrackTileEntity>
     
    List<net.minecraft.world.phys.Vec3>
    getTrackAxes(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    net.minecraft.world.phys.Vec3
    getUpNormal(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    void
    initializeClient(Consumer<net.minecraftforge.client.IBlockRenderProperties> consumer)
     
    net.minecraft.world.level.block.state.BlockState
    mirror(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror pMirror)
     
    net.minecraft.world.level.block.entity.BlockEntity
    newBlockEntity(net.minecraft.core.BlockPos p_153215_, net.minecraft.world.level.block.state.BlockState state)
     
    void
    onPlace(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pOldState, boolean pIsMoving)
     
    void
    onRemove(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pNewState, boolean pIsMoving)
     
    net.minecraft.world.InteractionResult
    onSneakWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context)
     
    net.minecraft.world.InteractionResult
    onWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context)
     
    net.minecraft.world.level.block.state.BlockState
    overlay(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState existing, net.minecraft.world.level.block.state.BlockState placed)
     
    void
    playerWillDestroy(net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.entity.player.Player pPlayer)
     
    com.jozufozu.flywheel.core.PartialModel
    prepareAssemblyOverlay(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, com.mojang.blaze3d.vertex.PoseStack ms)
     
    com.jozufozu.flywheel.core.PartialModel
    prepareTrackOverlay(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, BezierTrackPointLocation bezierPoint, net.minecraft.core.Direction.AxisDirection direction, com.mojang.blaze3d.vertex.PoseStack ms, TrackTargetingBehaviour.RenderedTrackOverlayType type)
     
    net.minecraft.world.level.block.state.BlockState
    rotate(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation pRotation)
     
    void
    setPlacedBy(net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.entity.LivingEntity pPlacer, net.minecraft.world.item.ItemStack pStack)
     
    void
    tick(net.minecraft.world.level.block.state.BlockState state, net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, Random p_60465_)
     
    boolean
    trackEquals(net.minecraft.world.level.block.state.BlockState state1, net.minecraft.world.level.block.state.BlockState state2)
     
    net.minecraft.world.level.block.state.BlockState
    updateShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction pDirection, net.minecraft.world.level.block.state.BlockState pNeighborState, net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pCurrentPos, net.minecraft.core.BlockPos pNeighborPos)
     
    net.minecraft.world.InteractionResult
    use(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hit)
     

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

    appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getRenderPropertiesInternal, getShapeForEachState, getSoundType, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, popExperience, popResource, popResourceFromFace, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, 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, getDestroyProgress, getDirectSignal, getDrops, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getOffsetType, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isPathfindable, isSignalSource, neighborChanged, onProjectileHit, randomTick, skipRendering, spawnAfterBreak, triggerEvent, updateIndirectNeighbourShapes, useShapeForLightOcclusion

    Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry

    getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.minecraft.world.level.block.EntityBlock

    getListener

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlock

    addLandingEffects, addRunningEffects, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, collisionExtendsVertically, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getToolModifiedState, getWeakChanges, hidesNeighborFace, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isValidSpawn, makesOpenTrapdoorAboveClimbable, onBlockExploded, onCaughtFire, onDestroyedByPlayer, onNeighborChange, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHiding

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeBucketPickup

    getPickupSound

    Methods inherited from interface com.simibubi.create.foundation.block.ITE

    getTicker, getTileEntity, getTileEntityOptional, onTileEntityUse, withTileEntityDo

    Methods inherited from interface com.simibubi.create.content.logistics.trains.ITrackBlock

    getElevationAtCenter, getNearestTrackAxis, isSlope

    Methods inherited from interface com.simibubi.create.content.contraptions.wrench.IWrenchable

    getRotatedBlockState, playRemoveSound, playRotateSound, updateAfterWrenched

    Methods inherited from interface com.simibubi.create.foundation.block.ProperWaterloggedBlock

    fluidState, updateWater, withWater

    Methods inherited from interface net.minecraft.world.level.block.SimpleWaterloggedBlock

    canPlaceLiquid, getPickupSound, pickupBlock, placeLiquid
  • Field Details

    • SHAPE

      public static final net.minecraft.world.level.block.state.properties.EnumProperty<TrackShape> SHAPE
    • HAS_TE

      public static final net.minecraft.world.level.block.state.properties.BooleanProperty HAS_TE
  • Constructor Details

    • TrackBlock

      public TrackBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties p_49795_)
  • Method Details

    • 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> p_49915_)
      Overrides:
      createBlockStateDefinition in class net.minecraft.world.level.block.Block
    • getFluidState

      public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.world.level.block.state.BlockState state)
      Overrides:
      getFluidState in class net.minecraft.world.level.block.state.BlockBehaviour
    • initializeClient

      public void initializeClient(Consumer<net.minecraftforge.client.IBlockRenderProperties> consumer)
      Overrides:
      initializeClient in class net.minecraft.world.level.block.Block
    • getStateForPlacement

      public net.minecraft.world.level.block.state.BlockState getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext ctx)
      Overrides:
      getStateForPlacement in class net.minecraft.world.level.block.Block
    • getPistonPushReaction

      public net.minecraft.world.level.material.PushReaction getPistonPushReaction(net.minecraft.world.level.block.state.BlockState pState)
      Overrides:
      getPistonPushReaction in class net.minecraft.world.level.block.state.BlockBehaviour
    • playerWillDestroy

      public void playerWillDestroy(net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.entity.player.Player pPlayer)
      Overrides:
      playerWillDestroy in class net.minecraft.world.level.block.Block
    • onPlace

      public void onPlace(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pOldState, boolean pIsMoving)
      Overrides:
      onPlace in class net.minecraft.world.level.block.state.BlockBehaviour
    • setPlacedBy

      public void setPlacedBy(net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.entity.LivingEntity pPlacer, net.minecraft.world.item.ItemStack pStack)
      Overrides:
      setPlacedBy in class net.minecraft.world.level.block.Block
    • tick

      public void tick(net.minecraft.world.level.block.state.BlockState state, net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, Random p_60465_)
      Overrides:
      tick in class net.minecraft.world.level.block.state.BlockBehaviour
    • connectToNether

      protected void connectToNether(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
    • getOtherSide

      protected Pair<net.minecraft.server.level.ServerLevel,BlockFace> getOtherSide(net.minecraft.server.level.ServerLevel level, BlockFace inboundTrack)
    • updateShape

      public net.minecraft.world.level.block.state.BlockState updateShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction pDirection, net.minecraft.world.level.block.state.BlockState pNeighborState, net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pCurrentPos, net.minecraft.core.BlockPos pNeighborPos)
      Overrides:
      updateShape in class net.minecraft.world.level.block.state.BlockBehaviour
    • getConnected

      public Collection<TrackNodeLocation.DiscoveredLocation> getConnected(net.minecraft.world.level.BlockGetter worldIn, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, boolean linear, TrackNodeLocation connectedTo)
      Specified by:
      getConnected in interface ITrackBlock
    • animateTick

      public void animateTick(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, Random pRand)
      Overrides:
      animateTick in class net.minecraft.world.level.block.Block
    • onRemove

      public void onRemove(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pNewState, boolean pIsMoving)
      Overrides:
      onRemove in class net.minecraft.world.level.block.state.BlockBehaviour
    • use

      public net.minecraft.world.InteractionResult use(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hit)
      Overrides:
      use in class net.minecraft.world.level.block.state.BlockBehaviour
    • canSurvive

      public boolean canSurvive(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader reader, net.minecraft.core.BlockPos pos)
      Overrides:
      canSurvive in class net.minecraft.world.level.block.state.BlockBehaviour
    • getShape

      public net.minecraft.world.phys.shapes.VoxelShape getShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter p_60556_, net.minecraft.core.BlockPos p_60557_, net.minecraft.world.phys.shapes.CollisionContext p_60558_)
      Overrides:
      getShape 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 state, net.minecraft.world.level.BlockGetter pLevel, net.minecraft.core.BlockPos pPos)
      Overrides:
      getInteractionShape in class net.minecraft.world.level.block.state.BlockBehaviour
    • getCollisionShape

      public net.minecraft.world.phys.shapes.VoxelShape getCollisionShape(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.BlockGetter pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.phys.shapes.CollisionContext pContext)
      Overrides:
      getCollisionShape in class net.minecraft.world.level.block.state.BlockBehaviour
    • newBlockEntity

      public net.minecraft.world.level.block.entity.BlockEntity newBlockEntity(net.minecraft.core.BlockPos p_153215_, net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      newBlockEntity in interface net.minecraft.world.level.block.EntityBlock
      Specified by:
      newBlockEntity in interface ITE<TrackTileEntity>
    • getTileEntityClass

      public Class<TrackTileEntity> getTileEntityClass()
      Specified by:
      getTileEntityClass in interface ITE<TrackTileEntity>
    • getTileEntityType

      public net.minecraft.world.level.block.entity.BlockEntityType<? extends TrackTileEntity> getTileEntityType()
      Specified by:
      getTileEntityType in interface ITE<TrackTileEntity>
    • getUpNormal

      public net.minecraft.world.phys.Vec3 getUpNormal(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      getUpNormal in interface ITrackBlock
    • getTrackAxes

      public List<net.minecraft.world.phys.Vec3> getTrackAxes(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      getTrackAxes in interface ITrackBlock
    • getCurveStart

      public net.minecraft.world.phys.Vec3 getCurveStart(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.phys.Vec3 axis)
      Specified by:
      getCurveStart in interface ITrackBlock
    • onWrenched

      public net.minecraft.world.InteractionResult onWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context)
      Specified by:
      onWrenched in interface IWrenchable
    • onSneakWrenched

      public net.minecraft.world.InteractionResult onSneakWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context)
      Specified by:
      onSneakWrenched in interface IWrenchable
    • overlay

      public net.minecraft.world.level.block.state.BlockState overlay(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState existing, net.minecraft.world.level.block.state.BlockState placed)
      Specified by:
      overlay in interface ITrackBlock
    • rotate

      public net.minecraft.world.level.block.state.BlockState rotate(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation pRotation)
      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 state, net.minecraft.world.level.block.Mirror pMirror)
      Overrides:
      mirror in class net.minecraft.world.level.block.state.BlockBehaviour
    • getBogeyAnchor

      public net.minecraft.world.level.block.state.BlockState getBogeyAnchor(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      getBogeyAnchor in interface ITrackBlock
    • prepareAssemblyOverlay

      public com.jozufozu.flywheel.core.PartialModel prepareAssemblyOverlay(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction direction, com.mojang.blaze3d.vertex.PoseStack ms)
      Specified by:
      prepareAssemblyOverlay in interface ITrackBlock
    • prepareTrackOverlay

      public com.jozufozu.flywheel.core.PartialModel prepareTrackOverlay(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, BezierTrackPointLocation bezierPoint, net.minecraft.core.Direction.AxisDirection direction, com.mojang.blaze3d.vertex.PoseStack ms, TrackTargetingBehaviour.RenderedTrackOverlayType type)
      Specified by:
      prepareTrackOverlay in interface ITrackBlock
    • trackEquals

      public boolean trackEquals(net.minecraft.world.level.block.state.BlockState state1, net.minecraft.world.level.block.state.BlockState state2)
      Specified by:
      trackEquals in interface ITrackBlock
    • getRequiredItems

      public ItemRequirement getRequiredItems(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntity te)
      Specified by:
      getRequiredItems in interface ISpecialBlockItemRequirement