Skip to content

Commit

Permalink
feat: dimension type & chat registries, dont exclude anything from ba…
Browse files Browse the repository at this point in the history
…nner patterns and wolf variants
  • Loading branch information
mworzala committed May 18, 2024
1 parent 916fa17 commit 32a57f1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public enum DataGenType {
BLOCKS("blocks", new BlockGenerator()),
COMMAND_ARGUMENTS("command_arguments", new CommandArgumentGenerator()),
CUSTOM_STATISTICS("custom_statistics", new CustomStatisticGenerator()),
DIMENSION_TYPES("dimension_types", new DimensionTypeGenerator()),
DYE_COLORS("dye_colors", new DyeColorGenerator()),
ENCHANTMENTS("enchantments", new EnchantmentGenerator()),
ENTITIES("entities", new EntityGenerator()),
Expand All @@ -39,9 +38,11 @@ public enum DataGenType {
GAMEEVENT_TAGS("tags/gameplay_tags", new GameEventTagGenerator()),
ITEM_TAGS("tags/item_tags", new ItemTagGenerator()),

DIMENSION_TYPES("dimension_types", new GenericResourceGenerator("dimension_type")),
CHAT_TYPES("chat_types", new GenericResourceGenerator("chat_type")),
DAMAGE_TYPES("damage_types", new GenericResourceGenerator("damage_type")),
BANNER_PATTERNS("banner_patterns", new GenericResourceGenerator("banner_pattern", List.of("asset_id"))),
WOLF_VARIANTS("wolf_variants", new GenericResourceGenerator("wolf_variant", List.of("angry_texture", "tame_texture", "wild_texture"))),
BANNER_PATTERNS("banner_patterns", new GenericResourceGenerator("banner_pattern")),
WOLF_VARIANTS("wolf_variants", new GenericResourceGenerator("wolf_variant")),
TRIM_MATERIALS("trim_materials", new GenericResourceGenerator("trim_material")),
TRIM_PATTERNS("trim_patterns", new GenericResourceGenerator("trim_pattern")),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

import com.google.gson.Gson;
import com.google.gson.JsonObject;
import net.minecraft.core.RegistryAccess;
import net.minecraft.core.registries.BuiltInRegistries;
import net.minecraft.core.registries.Registries;
import net.minecraft.data.Main;
import net.minecraft.world.level.biome.*;
import net.minestom.datagen.DataGenerator;
import net.minestom.utils.ResourceUtils;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package net.minestom.generators.tags;

import com.google.gson.JsonObject;
import net.minecraft.core.registries.BuiltInRegistries;
import net.minecraft.server.Main;
import net.minecraft.tags.TagEntry;
import net.minestom.datagen.DataGenerator;

public final class BlockTagGenerator extends DataGenerator {
Expand Down

0 comments on commit 32a57f1

Please sign in to comment.