Class TrackBlock
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 ClassesNested classes/interfaces inherited from class net.minecraft.world.level.block.Block
net.minecraft.world.level.block.Block.BlockStatePairKeyNested 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.StatePredicateNested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
net.minecraftforge.registries.ForgeRegistryEntry.UncheckedRegistryEntry<V extends net.minecraftforge.registries.IForgeRegistryEntry<V>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.level.block.state.properties.BooleanPropertystatic 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_LIGHTFields inherited from class net.minecraft.world.level.block.state.BlockBehaviour
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, soundType, speedFactor, UPDATE_SHAPE_ORDERFields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegateFields inherited from interface com.simibubi.create.foundation.block.ProperWaterloggedBlock
WATERLOGGED -
Constructor Summary
ConstructorsConstructorDescriptionTrackBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties p_49795_) -
Method Summary
Modifier and TypeMethodDescriptionvoidanimateTick(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.Level pLevel, net.minecraft.core.BlockPos pPos, Random pRand) booleancanSurvive(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader reader, net.minecraft.core.BlockPos pos) protected voidconnectToNether(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) protected voidcreateBlockStateDefinition(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.BlockStategetBogeyAnchor(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) net.minecraft.world.phys.shapes.VoxelShapegetCollisionShape(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.Vec3getCurveStart(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.FluidStategetFluidState(net.minecraft.world.level.block.state.BlockState state) net.minecraft.world.phys.shapes.VoxelShapegetInteractionShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter pLevel, net.minecraft.core.BlockPos pPos) getOtherSide(net.minecraft.server.level.ServerLevel level, BlockFace inboundTrack) net.minecraft.world.level.material.PushReactiongetPistonPushReaction(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.VoxelShapegetShape(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.BlockStategetStateForPlacement(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.Vec3getUpNormal(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) voidinitializeClient(Consumer<net.minecraftforge.client.IBlockRenderProperties> consumer) net.minecraft.world.level.block.state.BlockStatemirror(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror pMirror) net.minecraft.world.level.block.entity.BlockEntitynewBlockEntity(net.minecraft.core.BlockPos p_153215_, net.minecraft.world.level.block.state.BlockState state) voidonPlace(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) voidonRemove(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.InteractionResultonSneakWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context) net.minecraft.world.InteractionResultonWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context) net.minecraft.world.level.block.state.BlockStateoverlay(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) voidplayerWillDestroy(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.PartialModelprepareAssemblyOverlay(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.PartialModelprepareTrackOverlay(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.BlockStaterotate(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation pRotation) voidsetPlacedBy(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) voidtick(net.minecraft.world.level.block.state.BlockState state, net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, Random p_60465_) booleantrackEquals(net.minecraft.world.level.block.state.BlockState state1, net.minecraft.world.level.block.state.BlockState state2) net.minecraft.world.level.block.state.BlockStateupdateShape(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.InteractionResultuse(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, withPropertiesOfMethods 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, useShapeForLightOcclusionMethods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.level.block.EntityBlock
getListenerMethods 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, supportsExternalFaceHidingMethods inherited from interface net.minecraftforge.common.extensions.IForgeBucketPickup
getPickupSoundMethods inherited from interface com.simibubi.create.foundation.block.ITE
getTicker, getTileEntity, getTileEntityOptional, onTileEntityUse, withTileEntityDoMethods inherited from interface com.simibubi.create.content.logistics.trains.ITrackBlock
getElevationAtCenter, getNearestTrackAxis, isSlopeMethods inherited from interface com.simibubi.create.content.contraptions.wrench.IWrenchable
getRotatedBlockState, playRemoveSound, playRotateSound, updateAfterWrenchedMethods inherited from interface com.simibubi.create.foundation.block.ProperWaterloggedBlock
fluidState, updateWater, withWaterMethods inherited from interface net.minecraft.world.level.block.SimpleWaterloggedBlock
canPlaceLiquid, getPickupSound, pickupBlock, placeLiquid
-
Field Details
-
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:
createBlockStateDefinitionin classnet.minecraft.world.level.block.Block
-
getFluidState
public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.world.level.block.state.BlockState state) - Overrides:
getFluidStatein classnet.minecraft.world.level.block.state.BlockBehaviour
-
initializeClient
- Overrides:
initializeClientin classnet.minecraft.world.level.block.Block
-
getStateForPlacement
public net.minecraft.world.level.block.state.BlockState getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext ctx) - Overrides:
getStateForPlacementin classnet.minecraft.world.level.block.Block
-
getPistonPushReaction
public net.minecraft.world.level.material.PushReaction getPistonPushReaction(net.minecraft.world.level.block.state.BlockState pState) - Overrides:
getPistonPushReactionin classnet.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:
playerWillDestroyin classnet.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:
onPlacein classnet.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:
setPlacedByin classnet.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:
tickin classnet.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
-
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:
updateShapein classnet.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:
getConnectedin interfaceITrackBlock
-
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:
animateTickin classnet.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:
onRemovein classnet.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:
usein classnet.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:
canSurvivein classnet.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:
getShapein classnet.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:
getInteractionShapein classnet.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:
getCollisionShapein classnet.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:
newBlockEntityin interfacenet.minecraft.world.level.block.EntityBlock- Specified by:
newBlockEntityin interfaceITE<TrackTileEntity>
-
getTileEntityClass
- Specified by:
getTileEntityClassin interfaceITE<TrackTileEntity>
-
getTileEntityType
public net.minecraft.world.level.block.entity.BlockEntityType<? extends TrackTileEntity> getTileEntityType()- Specified by:
getTileEntityTypein interfaceITE<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:
getUpNormalin interfaceITrackBlock
-
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:
getTrackAxesin interfaceITrackBlock
-
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:
getCurveStartin interfaceITrackBlock
-
onWrenched
public net.minecraft.world.InteractionResult onWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context) - Specified by:
onWrenchedin interfaceIWrenchable
-
onSneakWrenched
public net.minecraft.world.InteractionResult onSneakWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context) - Specified by:
onSneakWrenchedin interfaceIWrenchable
-
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:
overlayin interfaceITrackBlock
-
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:
rotatein classnet.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:
mirrorin classnet.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:
getBogeyAnchorin interfaceITrackBlock
-
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:
prepareAssemblyOverlayin interfaceITrackBlock
-
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:
prepareTrackOverlayin interfaceITrackBlock
-
trackEquals
public boolean trackEquals(net.minecraft.world.level.block.state.BlockState state1, net.minecraft.world.level.block.state.BlockState state2) - Specified by:
trackEqualsin interfaceITrackBlock
-
getRequiredItems
public ItemRequirement getRequiredItems(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntity te) - Specified by:
getRequiredItemsin interfaceISpecialBlockItemRequirement
-