Interface ICustomer.Provider

All Known Implementing Classes:
MobCustomer.Provider, NoCustomer
Enclosing interface:
ICustomer

public static interface ICustomer.Provider
ITeam objects have one instance for each team, and cannot be serialized. ITeam.Provider are references to Teams, not the Teams themselves, and so can be serialized, and have multiple instances per Team. A ITeam.Provider should uniquely identify the same Team every single time.
  • Field Details

    • TYPED_CODEC

      @Internal static final com.mojang.serialization.Codec<ICustomer.Provider> TYPED_CODEC
      Use CODEC instead.
    • CODEC

      static final com.mojang.serialization.Codec<ICustomer.Provider> CODEC
    • STREAM_CODEC

      static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,ICustomer.Provider> STREAM_CODEC
  • Method Details