Class StationMarker
java.lang.Object
com.simibubi.create.content.trains.station.StationMarker
-
Constructor Summary
ConstructorsConstructorDescriptionStationMarker(net.minecraft.core.BlockPos source, net.minecraft.core.BlockPos target, net.minecraft.network.chat.Component name) -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.level.saveddata.maps.MapDecorationcreateStationDecoration(byte x, byte y, Optional<net.minecraft.network.chat.Component> name) booleanstatic StationMarkerfromWorld(net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos) getId()net.minecraft.network.chat.ComponentgetName()net.minecraft.core.BlockPosnet.minecraft.core.BlockPosinthashCode()static StationMarkerload(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries) net.minecraft.nbt.CompoundTagsave(net.minecraft.core.HolderLookup.Provider registries)
-
Constructor Details
-
StationMarker
public StationMarker(net.minecraft.core.BlockPos source, net.minecraft.core.BlockPos target, net.minecraft.network.chat.Component name)
-
-
Method Details
-
load
public static StationMarker load(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registries) -
fromWorld
public static StationMarker fromWorld(net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos) -
save
public net.minecraft.nbt.CompoundTag save(net.minecraft.core.HolderLookup.Provider registries) -
getSource
public net.minecraft.core.BlockPos getSource() -
getTarget
public net.minecraft.core.BlockPos getTarget() -
getName
public net.minecraft.network.chat.Component getName() -
getId
-
equals
-
hashCode
public int hashCode() -
createStationDecoration
public static net.minecraft.world.level.saveddata.maps.MapDecoration createStationDecoration(byte x, byte y, Optional<net.minecraft.network.chat.Component> name)
-