Class FlapDisplaySection
java.lang.Object
com.simibubi.create.content.logistics.trains.management.display.FlapDisplaySection
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFlapDisplaySection(float width, String cycle, boolean singleFlap, boolean hasGap) -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]getFlapCycle(String key) floatgetSize()static FlapDisplaySectionload(net.minecraft.nbt.CompoundTag tag) voidrefresh(boolean transition) booleanvoidsetText(net.minecraft.network.chat.Component component) inttick()voidupdate(net.minecraft.nbt.CompoundTag tag) net.minecraft.nbt.CompoundTagwrite()
-
Field Details
-
MONOSPACE
public static final float MONOSPACE- See Also:
-
WIDE_MONOSPACE
public static final float WIDE_MONOSPACE- See Also:
-
-
Constructor Details
-
FlapDisplaySection
-
-
Method Details
-
rightAligned
-
wideFlaps
-
setText
public void setText(net.minecraft.network.chat.Component component) -
refresh
public void refresh(boolean transition) -
tick
public int tick() -
getSize
public float getSize() -
write
public net.minecraft.nbt.CompoundTag write() -
load
-
update
public void update(net.minecraft.nbt.CompoundTag tag) -
renderCharsIndividually
public boolean renderCharsIndividually() -
getFlapCycle
-