V1510 .java

net.minecraft.util.datafix.schemas.V1510 (class, 31 lines): members: registerEntities. strings: "minecraft:experience_orb", "minecraft:eye_of_ender".

net.minecraft.util.datafix.schemasclass31 linescommonextends NamespacedSchema1.4 KB

API Surface (1)

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

String literals (24)

"minecraft:command_block_minecart"
"minecraft:commandblock_minecart"
"minecraft:end_crystal"
"minecraft:ender_crystal"
"minecraft:snow_golem"
"minecraft:snowman"
"minecraft:evoker"
"minecraft:evocation_illager"
"minecraft:evoker_fangs"
"minecraft:evocation_fangs"
"minecraft:illusioner"
"minecraft:illusion_illager"
"minecraft:vindicator"
"minecraft:vindication_illager"
"minecraft:iron_golem"
"minecraft:villager_golem"
"minecraft:experience_orb"
"minecraft:xp_orb"
"minecraft:experience_bottle"
"minecraft:xp_bottle"
"minecraft:eye_of_ender"
"minecraft:eye_of_ender_signal"
"minecraft:firework_rocket"
"minecraft:fireworks_rocket"

Code Graph: Dependencies (1)

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

Full Source

V1510.java31 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 V1510 extends NamespacedSchema {
9
	public V1510(final int versionKey, final Schema parent) {
10
		super(versionKey, parent);
11
	}
12
13
	@Override
14
	public Map<String, Supplier<TypeTemplate>> registerEntities(final Schema schema) {
15
		Map<String, Supplier<TypeTemplate>> map = super.registerEntities(schema);
16
		map.put("minecraft:command_block_minecart", map.remove("minecraft:commandblock_minecart"));
17
		map.put("minecraft:end_crystal", map.remove("minecraft:ender_crystal"));
18
		map.put("minecraft:snow_golem", map.remove("minecraft:snowman"));
19
		map.put("minecraft:evoker", map.remove("minecraft:evocation_illager"));
20
		map.put("minecraft:evoker_fangs", map.remove("minecraft:evocation_fangs"));
21
		map.put("minecraft:illusioner", map.remove("minecraft:illusion_illager"));
22
		map.put("minecraft:vindicator", map.remove("minecraft:vindication_illager"));
23
		map.put("minecraft:iron_golem", map.remove("minecraft:villager_golem"));
24
		map.put("minecraft:experience_orb", map.remove("minecraft:xp_orb"));
25
		map.put("minecraft:experience_bottle", map.remove("minecraft:xp_bottle"));
26
		map.put("minecraft:eye_of_ender", map.remove("minecraft:eye_of_ender_signal"));
27
		map.put("minecraft:firework_rocket", map.remove("minecraft:fireworks_rocket"));
28
		return map;
29
	}
30
}
31

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