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 V701 extends Schema { public V701(int versionKey, Schema parent) { super(versionKey, parent); } protected static void registerMob(Schema schema, Map> map, String name) { schema.register(map, name, (Supplier)(() -> V100.equipment(schema))); } @Override public Map> registerEntities(Schema schema) { Map> map = super.registerEntities(schema); registerMob(schema, map, "WitherSkeleton"); registerMob(schema, map, "Stray"); return map; } }