19 lines
612 B
Java
19 lines
612 B
Java
|
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;
|
||
|
}
|
||
|
}
|