Class EntityDataSerializersRegistry<T>

java.lang.Object
net.tearpelato.craftcorelib.api.registry.ObjectRegistries<net.minecraft.network.syncher.EntityDataSerializer<T>>
net.tearpelato.craftcorelib.api.registry.EntityDataSerializersRegistry<T>
All Implemented Interfaces:
Supplier<net.minecraft.network.syncher.EntityDataSerializer<T>>

public class EntityDataSerializersRegistry<T> extends ObjectRegistries<net.minecraft.network.syncher.EntityDataSerializer<T>>
  • Constructor Details

    • EntityDataSerializersRegistry

      public EntityDataSerializersRegistry(net.minecraft.resources.Identifier id, Supplier<net.minecraft.network.syncher.EntityDataSerializer<T>> supplier)
  • Method Details

    • matches

      protected boolean matches(net.minecraft.core.Registry<?> r)
      Overrides:
      matches in class ObjectRegistries<net.minecraft.network.syncher.EntityDataSerializer<T>>
    • create

      protected net.minecraft.network.syncher.EntityDataSerializer<T> create()
      Overrides:
      create in class ObjectRegistries<net.minecraft.network.syncher.EntityDataSerializer<T>>