Class EdgePointType<T extends TrackEdgePoint>
java.lang.Object
com.simibubi.create.content.trains.graph.EdgePointType<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EdgePointType<TrackObserver> static final EdgePointType<SignalBoundary> static final EdgePointType<GlobalStation> static final Map<net.minecraft.resources.ResourceLocation, EdgePointType<?>> -
Constructor Summary
ConstructorsConstructorDescriptionEdgePointType(net.minecraft.resources.ResourceLocation id, Supplier<T> factory) -
Method Summary
Modifier and TypeMethodDescriptioncreate()net.minecraft.resources.ResourceLocationgetId()static TrackEdgePointread(net.minecraft.network.FriendlyByteBuf buffer, DimensionPalette dimensions) static <T extends TrackEdgePoint>
EdgePointType<T>
-
Field Details
-
TYPES
-
SIGNAL
-
STATION
-
OBSERVER
-
-
Constructor Details
-
EdgePointType
-
-
Method Details
-
register
public static <T extends TrackEdgePoint> EdgePointType<T> register(net.minecraft.resources.ResourceLocation id, Supplier<T> factory) -
create
-
getId
public net.minecraft.resources.ResourceLocation getId() -
read
public static TrackEdgePoint read(net.minecraft.network.FriendlyByteBuf buffer, DimensionPalette dimensions)
-