public class FacadePhasedState extends java.lang.Object implements IFacadePhasedState
Modifier and Type | Field and Description |
---|---|
net.minecraft.item.EnumDyeColor |
activeColour |
boolean |
isHollow |
FacadeBlockStateInfo |
stateInfo |
Constructor and Description |
---|
FacadePhasedState(FacadeBlockStateInfo stateInfo,
boolean isHollow,
net.minecraft.item.EnumDyeColor activeColour) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.item.EnumDyeColor |
getActiveColor() |
IFacadeState |
getState() |
boolean |
isHollow() |
boolean |
isSideSolid(net.minecraft.util.EnumFacing side) |
static FacadePhasedState |
readFromBuffer(PacketBufferBC buf) |
static FacadePhasedState |
readFromNbt(net.minecraft.nbt.NBTTagCompound nbt) |
java.lang.String |
toString() |
FacadePhasedState |
withColour(net.minecraft.item.EnumDyeColor colour) |
FacadePhasedState |
withSwappedIsHollow() |
void |
writeToBuffer(PacketBufferBC buf) |
net.minecraft.nbt.NBTTagCompound |
writeToNbt() |
public final FacadeBlockStateInfo stateInfo
public final boolean isHollow
@Nullable public final net.minecraft.item.EnumDyeColor activeColour
public FacadePhasedState(FacadeBlockStateInfo stateInfo, boolean isHollow, net.minecraft.item.EnumDyeColor activeColour)
public static FacadePhasedState readFromNbt(net.minecraft.nbt.NBTTagCompound nbt)
public net.minecraft.nbt.NBTTagCompound writeToNbt()
public static FacadePhasedState readFromBuffer(PacketBufferBC buf)
public void writeToBuffer(PacketBufferBC buf)
public FacadePhasedState withSwappedIsHollow()
public FacadePhasedState withColour(net.minecraft.item.EnumDyeColor colour)
public boolean isSideSolid(net.minecraft.util.EnumFacing side)
public java.lang.String toString()
toString
in class java.lang.Object
public IFacadeState getState()
getState
in interface IFacadePhasedState
public boolean isHollow()
isHollow
in interface IFacadePhasedState
public net.minecraft.item.EnumDyeColor getActiveColor()
getActiveColor
in interface IFacadePhasedState