Add newer ores to hideores support

This commit is contained in:
Mike Primm 2021-10-02 17:41:19 -05:00
parent a3484d307d
commit cbfbfb4d58
2 changed files with 22 additions and 0 deletions

View File

@ -1106,6 +1106,16 @@ public class MapManager {
setBlockAlias(DynmapBlockState.LIT_REDSTONE_ORE_BLOCK, DynmapBlockState.STONE_BLOCK); // Glowing Redstone ore setBlockAlias(DynmapBlockState.LIT_REDSTONE_ORE_BLOCK, DynmapBlockState.STONE_BLOCK); // Glowing Redstone ore
setBlockAlias(DynmapBlockState.EMERALD_ORE_BLOCK, DynmapBlockState.STONE_BLOCK); // Emerald ore setBlockAlias(DynmapBlockState.EMERALD_ORE_BLOCK, DynmapBlockState.STONE_BLOCK); // Emerald ore
setBlockAlias(DynmapBlockState.QUARTZ_ORE_BLOCK, DynmapBlockState.STONE_BLOCK); // Nether quartz ore setBlockAlias(DynmapBlockState.QUARTZ_ORE_BLOCK, DynmapBlockState.STONE_BLOCK); // Nether quartz ore
setBlockAlias(DynmapBlockState.NETHER_GOLD_ORE_BLOCK, DynmapBlockState.NETHERRACK_BLOCK); // Nether Gold ore
setBlockAlias(DynmapBlockState.DEEPSLATE_GOLD_ORE_BLOCK, DynmapBlockState.DEEPSLATE_BLOCK); // Deepslate gold ore
setBlockAlias(DynmapBlockState.DEEPSLATE_IRON_ORE_BLOCK, DynmapBlockState.DEEPSLATE_BLOCK); // Deepslate iron ore
setBlockAlias(DynmapBlockState.DEEPSLATE_COAL_ORE_BLOCK, DynmapBlockState.DEEPSLATE_BLOCK); // Deepslate coal ore
setBlockAlias(DynmapBlockState.DEEPSLATE_LAPIS_ORE_BLOCK, DynmapBlockState.DEEPSLATE_BLOCK); // Deepslate lapis ore
setBlockAlias(DynmapBlockState.DEEPSLATE_DIAMOND_ORE_BLOCK, DynmapBlockState.DEEPSLATE_BLOCK); // Deepslate diamond ore
setBlockAlias(DynmapBlockState.DEEPSLATE_REDSTONE_ORE_BLOCK, DynmapBlockState.DEEPSLATE_BLOCK); // Deepslate redstone ore
setBlockAlias(DynmapBlockState.DEEPSLATE_EMERALD_ORE_BLOCK, DynmapBlockState.DEEPSLATE_BLOCK); // Deepslate emerald ore
setBlockAlias(DynmapBlockState.DEEPSLATE_COPPER_ORE_BLOCK, DynmapBlockState.DEEPSLATE_BLOCK); // Deepslate copper ore
setBlockAlias(DynmapBlockState.COPPER_ORE_BLOCK, DynmapBlockState.STONE_BLOCK); // Copper ore
} }
ConfigurationNode ba = configuration.getNode("block-alias"); ConfigurationNode ba = configuration.getNode("block-alias");
if (ba != null) { if (ba != null) {

View File

@ -68,6 +68,18 @@ public class DynmapBlockState {
public static String LIT_REDSTONE_ORE_BLOCK = "minecraft:lit_redstone_ore"; public static String LIT_REDSTONE_ORE_BLOCK = "minecraft:lit_redstone_ore";
public static String EMERALD_ORE_BLOCK = "minecraft:emerald_ore"; public static String EMERALD_ORE_BLOCK = "minecraft:emerald_ore";
public static String QUARTZ_ORE_BLOCK = "minecraft:quartz_ore"; public static String QUARTZ_ORE_BLOCK = "minecraft:quartz_ore";
public static String NETHER_GOLD_ORE_BLOCK = "minecraft:nether_gold_ore";
public static String DEEPSLATE_GOLD_ORE_BLOCK = "minecraft:deepslate_gold_ore";
public static String DEEPSLATE_IRON_ORE_BLOCK = "minecraft:deepslate_iron_ore";
public static String DEEPSLATE_COAL_ORE_BLOCK = "minecraft:deepslate_coal_ore";
public static String DEEPSLATE_LAPIS_ORE_BLOCK = "minecraft:deepslate_lapis_ore";
public static String DEEPSLATE_DIAMOND_ORE_BLOCK = "minecraft:deepslate_diamond_ore";
public static String DEEPSLATE_REDSTONE_ORE_BLOCK = "minecraft:deepslate_redstone_ore";
public static String DEEPSLATE_EMERALD_ORE_BLOCK = "minecraft:deepslate_emerald_ore";
public static String DEEPSLATE_COPPER_ORE_BLOCK = "minecraft:deepslate_copper_ore";
public static String COPPER_ORE_BLOCK = "minecraft:copper_ore";
public static String DEEPSLATE_BLOCK = "minecraft:deepslate";
public static String NETHERRACK_BLOCK = "minecraft:netherrack";
public static String LOG_BLOCK = "minecraft:log"; public static String LOG_BLOCK = "minecraft:log";
public static String LOG2_BLOCK = "minecraft:log2"; public static String LOG2_BLOCK = "minecraft:log2";
public static String LEAVES_BLOCK = "minecraft:leaves"; public static String LEAVES_BLOCK = "minecraft:leaves";