All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.spottedleaf.dataconverter.minecraft.versions.V1928 Maven / Gradle / Ivy

package ca.spottedleaf.dataconverter.minecraft.versions;

import ca.spottedleaf.dataconverter.minecraft.MCVersions;
import ca.spottedleaf.dataconverter.minecraft.converters.entity.ConverterAbstractEntityRename;
import ca.spottedleaf.dataconverter.minecraft.converters.itemname.ConverterAbstractItemRename;


import java.util.Map;
import java.util.HashMap;

public final class V1928 {

    private static final int VERSION = MCVersions.V19W04B + 1;

    private static void registerMob(final String id) {
        V100.registerEquipment(VERSION, id);
    }

    public static void register() {
        ConverterAbstractEntityRename.register(VERSION, Map.of(
                "minecraft:illager_beast", "minecraft:ravager"
        )::get);
        ConverterAbstractItemRename.register(VERSION, Map.of(
                "minecraft:illager_beast_spawn_egg", "minecraft:ravager_spawn_egg"
        )::get);

        registerMob("minecraft:ravager");
    }

    private V1928() {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy