Modifier and Type | Field and Description |
---|---|
FacadePhasedState[] |
phasedStates |
FacadeType |
type |
Constructor and Description |
---|
FacadeInstance(FacadePhasedState[] phasedStates) |
Modifier and Type | Method and Description |
---|---|
boolean |
areAllStatesSolid(net.minecraft.util.EnumFacing side) |
boolean |
canAddColour(net.minecraft.item.EnumDyeColor colour) |
static FacadeInstance |
createSingle(FacadeBlockStateInfo info,
boolean isHollow) |
FacadePhasedState |
getCurrentStateForStack() |
IFacadePhasedState[] |
getPhasedStates() |
FacadeType |
getType() |
static FacadeInstance |
readFromBuffer(PacketBufferBC buf) |
static FacadeInstance |
readFromNbt(net.minecraft.nbt.NBTTagCompound nbt,
java.lang.String subTag) |
FacadeInstance |
withState(FacadePhasedState state) |
FacadeInstance |
withSwappedIsHollow() |
void |
writeToBuffer(PacketBufferBC buf) |
void |
writeToNbt(net.minecraft.nbt.NBTTagCompound nbt,
java.lang.String subTag) |
public final FacadePhasedState[] phasedStates
public final FacadeType type
public FacadeInstance(FacadePhasedState[] phasedStates)
public static FacadeInstance createSingle(FacadeBlockStateInfo info, boolean isHollow)
public static FacadeInstance readFromNbt(net.minecraft.nbt.NBTTagCompound nbt, java.lang.String subTag)
public void writeToNbt(net.minecraft.nbt.NBTTagCompound nbt, java.lang.String subTag)
public static FacadeInstance readFromBuffer(PacketBufferBC buf)
public void writeToBuffer(PacketBufferBC buf)
public boolean canAddColour(net.minecraft.item.EnumDyeColor colour)
@Nullable public FacadeInstance withState(FacadePhasedState state)
public FacadePhasedState getCurrentStateForStack()
public FacadeInstance withSwappedIsHollow()
public boolean areAllStatesSolid(net.minecraft.util.EnumFacing side)
public FacadeType getType()
public IFacadePhasedState[] getPhasedStates()
getPhasedStates
in interface IFacade