minecraft-src/net/minecraft/util/datafix/schemas/V4302.java
2025-07-04 03:45:38 +03:00

20 lines
627 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 V4302 extends NamespacedSchema {
public V4302(int i, Schema schema) {
super(i, schema);
}
@Override
public Map<String, Supplier<TypeTemplate>> registerBlockEntities(Schema schema) {
Map<String, Supplier<TypeTemplate>> map = super.registerBlockEntities(schema);
schema.registerSimple(map, "minecraft:test_block");
schema.registerSimple(map, "minecraft:test_instance_block");
return map;
}
}