Code/net/minecraft/util/datafix/schemas/V2502.java

19 lines
612 B
Java
Raw Permalink Normal View History

2025-07-01 06:20:03 +00:00
package net.minecraft.util.datafix.schemas;
import com.mojang.datafixers.schemas.Schema;
import com.mojang.datafixers.types.templates.TypeTemplate;
import java.util.Map;
import java.util.function.Supplier;
public class V2502 extends NamespacedSchema {
public V2502(int p_17859_, Schema p_17860_) {
super(p_17859_, p_17860_);
}
@Override
public Map<String, Supplier<TypeTemplate>> registerEntities(Schema p_17868_) {
Map<String, Supplier<TypeTemplate>> map = super.registerEntities(p_17868_);
p_17868_.registerSimple(map, "minecraft:hoglin");
return map;
}
}