20 lines
648 B
Java
20 lines
648 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 V1486 extends NamespacedSchema {
|
|
public V1486(int i, Schema schema) {
|
|
super(i, schema);
|
|
}
|
|
|
|
@Override
|
|
public Map<String, Supplier<TypeTemplate>> registerEntities(Schema schema) {
|
|
Map<String, Supplier<TypeTemplate>> map = super.registerEntities(schema);
|
|
map.put("minecraft:cod", (Supplier)map.remove("minecraft:cod_mob"));
|
|
map.put("minecraft:salmon", (Supplier)map.remove("minecraft:salmon_mob"));
|
|
return map;
|
|
}
|
|
}
|