public abstract class ConnectedTextureBehaviour
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectedTextureBehaviour.CTContext |
| Constructor and Description |
|---|
ConnectedTextureBehaviour() |
| Modifier and Type | Method and Description |
|---|---|
ConnectedTextureBehaviour.CTContext |
buildContext(net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
boolean |
buildContextForOccludedDirections() |
boolean |
connectsTo(net.minecraft.block.BlockState state,
net.minecraft.block.BlockState other,
net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos otherPos,
net.minecraft.util.Direction face) |
abstract CTSpriteShiftEntry |
get(net.minecraft.block.BlockState state,
net.minecraft.util.Direction direction) |
protected net.minecraft.util.Direction |
getRightDirection(net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
protected net.minecraft.util.Direction |
getUpDirection(net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
protected boolean |
isBeingBlocked(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos otherPos,
net.minecraft.util.Direction face) |
protected boolean |
reverseUVs(net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
protected boolean |
reverseUVsHorizontally(net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
protected boolean |
reverseUVsVertically(net.minecraft.block.BlockState state,
net.minecraft.util.Direction face) |
public abstract CTSpriteShiftEntry get(net.minecraft.block.BlockState state, net.minecraft.util.Direction direction)
protected boolean reverseUVs(net.minecraft.block.BlockState state,
net.minecraft.util.Direction face)
protected boolean reverseUVsHorizontally(net.minecraft.block.BlockState state,
net.minecraft.util.Direction face)
protected boolean reverseUVsVertically(net.minecraft.block.BlockState state,
net.minecraft.util.Direction face)
public boolean buildContextForOccludedDirections()
public boolean connectsTo(net.minecraft.block.BlockState state,
net.minecraft.block.BlockState other,
net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos otherPos,
net.minecraft.util.Direction face)
protected boolean isBeingBlocked(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.BlockPos otherPos,
net.minecraft.util.Direction face)
public ConnectedTextureBehaviour.CTContext buildContext(net.minecraft.world.IBlockDisplayReader reader, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state, net.minecraft.util.Direction face)
protected net.minecraft.util.Direction getUpDirection(net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face)
protected net.minecraft.util.Direction getRightDirection(net.minecraft.world.IBlockDisplayReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.util.Direction face)