Class DimensionPalette
java.lang.Object
com.simibubi.create.content.logistics.trains.DimensionPalette
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>decode(int index) intencode(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension) static DimensionPaletteread(net.minecraft.nbt.CompoundTag tag) static DimensionPalettereceive(net.minecraft.network.FriendlyByteBuf buffer) voidsend(net.minecraft.network.FriendlyByteBuf buffer) voidwrite(net.minecraft.nbt.CompoundTag tag)
-
Constructor Details
-
DimensionPalette
public DimensionPalette()
-
-
Method Details
-
encode
public int encode(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension) -
decode
public net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> decode(int index) -
send
public void send(net.minecraft.network.FriendlyByteBuf buffer) -
receive
-
write
public void write(net.minecraft.nbt.CompoundTag tag) -
read
-