V3438 .java

net.minecraft.util.datafix.schemas.V3438 (class): members: registerBlockEntities. strings: "minecraft:calibrated_sculk_sensor". imports: TypeTemplate.

net.minecraft.util.datafix.schemasclass21 linescommonextends NamespacedSchema694 B

API Surface (1)

Map<String, Supplier<TypeTemplate>> registerBlockEntities(final Schema schema)

String literals (3)

"minecraft:brushable_block"
"minecraft:suspicious_sand"
"minecraft:calibrated_sculk_sensor"

Code Graph: Dependencies (1)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

V3438.java21 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.util.datafix.schemas;
2
3
import com.mojang.datafixers.schemas.Schema;
4
import com.mojang.datafixers.types.templates.TypeTemplate;
5
import java.util.Map;
6
import java.util.function.Supplier;
7
8
public class V3438 extends NamespacedSchema {
9
	public V3438(final int versionKey, final Schema parent) {
10
		super(versionKey, parent);
11
	}
12
13
	@Override
14
	public Map<String, Supplier<TypeTemplate>> registerBlockEntities(final Schema schema) {
15
		Map<String, Supplier<TypeTemplate>> map = super.registerBlockEntities(schema);
16
		map.put("minecraft:brushable_block", map.remove("minecraft:suspicious_sand"));
17
		schema.registerSimple(map, "minecraft:calibrated_sculk_sensor");
18
		return map;
19
	}
20
}
21

Decompiled Minecraft 26.3 source of V3438 (net/minecraft/util/datafix/schemas/V3438.java) with Mojang official mappings, stored verbatim on the site.