-
Field Summary
Fields
static final List<net.minecraft.resources.ResourceLocation>
-
Method Summary
boolean
default net.minecraft.core.Direction
net.minecraft.world.phys.Vec3
net.minecraft.world.level.block.state.BlockState
getMatchingBogey(net.minecraft.core.Direction upDirection,
boolean axisAlongFirst)
default net.minecraft.world.level.block.state.BlockState
getRotatedBlockState(net.minecraft.world.level.block.state.BlockState state,
net.minecraft.core.Direction targetedFace)
EnumSet<net.minecraft.core.Direction>
getStickySurfaces(net.minecraft.world.level.BlockGetter world,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state)
double
double
boolean
static void
register(net.minecraft.resources.ResourceLocation block)
void
render(net.minecraft.world.level.block.state.BlockState state,
float wheelAngle,
com.mojang.blaze3d.vertex.PoseStack ms,
float partialTicks,
net.minecraft.client.renderer.MultiBufferSource buffers,
int light,
int overlay)
-
Field Details
-
BOGEYS
static final List<net.minecraft.resources.ResourceLocation> BOGEYS
-
Method Details
-
register
static void register(net.minecraft.resources.ResourceLocation block)
-
getStickySurfaces
EnumSet<net.minecraft.core.Direction> getStickySurfaces(net.minecraft.world.level.BlockGetter world,
net.minecraft.core.BlockPos pos,
net.minecraft.world.level.block.state.BlockState state)
-
getWheelPointSpacing
double getWheelPointSpacing()
-
getWheelRadius
double getWheelRadius()
-
allowsSingleBogeyCarriage
boolean allowsSingleBogeyCarriage()
-
getConnectorAnchorOffset
net.minecraft.world.phys.Vec3 getConnectorAnchorOffset()
-
render
void render(@Nullable
net.minecraft.world.level.block.state.BlockState state,
float wheelAngle,
com.mojang.blaze3d.vertex.PoseStack ms,
float partialTicks,
net.minecraft.client.renderer.MultiBufferSource buffers,
int light,
int overlay)
-
-
getBogeyUpDirection
default net.minecraft.core.Direction getBogeyUpDirection()
-
isTrackAxisAlongFirstCoordinate
boolean isTrackAxisAlongFirstCoordinate(net.minecraft.world.level.block.state.BlockState state)
-
getMatchingBogey
@Nullable
net.minecraft.world.level.block.state.BlockState getMatchingBogey(net.minecraft.core.Direction upDirection,
boolean axisAlongFirst)
-
getRotatedBlockState
default net.minecraft.world.level.block.state.BlockState getRotatedBlockState(net.minecraft.world.level.block.state.BlockState state,
net.minecraft.core.Direction targetedFace)
- Specified by:
getRotatedBlockState in interface IWrenchable