Class FabricEntityDataRegistryImpl
java.lang.Object
net.fabricmc.fabric.impl.object.builder.FabricEntityDataRegistryImpl
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable net.minecraft.network.syncher.EntityDataSerializer<?> get(net.minecraft.resources.Identifier id) static @Nullable net.minecraft.resources.IdentifiergetId(net.minecraft.network.syncher.EntityDataSerializer<?> handler) static booleanstatic voidregister(net.minecraft.resources.Identifier id, net.minecraft.network.syncher.EntityDataSerializer<?> handler) static void
-
Method Details
-
hasStoredVanillaHandlers
public static boolean hasStoredVanillaHandlers() -
storeVanillaHandlers
public static void storeVanillaHandlers() -
register
public static void register(net.minecraft.resources.Identifier id, net.minecraft.network.syncher.EntityDataSerializer<?> handler) -
get
public static @Nullable net.minecraft.network.syncher.EntityDataSerializer<?> get(net.minecraft.resources.Identifier id) -
getId
public static @Nullable net.minecraft.resources.Identifier getId(net.minecraft.network.syncher.EntityDataSerializer<?> handler)
-