Class TrainEditPacket

java.lang.Object
com.simibubi.create.content.trains.station.TrainEditPacket
All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload
Direct Known Subclasses:
TrainEditPacket.Serverbound, TrainEditPacket.TrainEditReturnPacket

public abstract class TrainEditPacket extends Object implements net.minecraft.network.protocol.common.custom.CustomPacketPayload
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload

    net.minecraft.network.protocol.common.custom.CustomPacketPayload.FallbackProvider<B extends net.minecraft.network.FriendlyByteBuf>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.TypeAndCodec<B extends net.minecraft.network.FriendlyByteBuf,T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.resources.ResourceLocation
     
    protected final UUID
     
    protected final int
     
    protected final String
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    TrainEditPacket(UUID id, String name, net.minecraft.resources.ResourceLocation iconType, int mapColor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleSided(net.minecraft.world.entity.player.Player sender)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload

    toVanillaClientbound, toVanillaServerbound, type
  • Field Details

    • id

      protected final UUID id
    • name

      protected final String name
    • iconType

      protected final net.minecraft.resources.ResourceLocation iconType
    • mapColor

      protected final int mapColor
  • Constructor Details

    • TrainEditPacket

      protected TrainEditPacket(UUID id, String name, net.minecraft.resources.ResourceLocation iconType, int mapColor)
  • Method Details

    • handleSided

      public void handleSided(net.minecraft.world.entity.player.Player sender)