Class StationMarker
java.lang.Object
com.simibubi.create.content.logistics.trains.management.edgePoint.station.StationMarker
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionStationMarker(net.minecraft.core.BlockPos source, net.minecraft.core.BlockPos target, net.minecraft.network.chat.Component name) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StationMarkerfromWorld(net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos) getId()net.minecraft.network.chat.ComponentgetName()net.minecraft.core.BlockPosnet.minecraft.core.BlockPosnet.minecraft.world.level.saveddata.maps.MapDecoration.TypegetType()inthashCode()static StationMarkerload(net.minecraft.nbt.CompoundTag tag) net.minecraft.nbt.CompoundTagsave()
-
Constructor Details
-
StationMarker
public StationMarker(net.minecraft.core.BlockPos source, net.minecraft.core.BlockPos target, net.minecraft.network.chat.Component name)
-
-
Method Details
-
load
-
fromWorld
public static StationMarker fromWorld(net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos) -
save
public net.minecraft.nbt.CompoundTag save() -
equals
-
hashCode
public int hashCode() -
getTarget
public net.minecraft.core.BlockPos getTarget() -
getSource
public net.minecraft.core.BlockPos getSource() -
getName
public net.minecraft.network.chat.Component getName() -
getType
public net.minecraft.world.level.saveddata.maps.MapDecoration.Type getType() -
getId
-