Skip to content

Commit

Permalink
mooblooms!!
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Dec 29, 2024
1 parent f43bd9c commit 042fa1f
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"values": [
"minecraft:flower_forest",
"minecraft:swamp",
{
"id": "wilderwild:flower_field",
"required": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"biomes": "#wilderwild:entity/variant/moobloom_blue_orchid",
"flower_block_state": {
"Name": "minecraft:blue_orchid"
},
"texture": "wilderwild:entity/moobloom/moobloom_blue_orchid"
}
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,11 @@ private void generateUtilityTags() {
.addOptional(WWBiomes.MAPLE_FOREST)
.addOptional(WWBiomes.TUNDRA);

this.getOrCreateTagBuilder(WWBiomeTags.MOOBLOOM_BLUE_ORCHID)
.add(Biomes.FLOWER_FOREST)
.add(Biomes.SWAMP)
.addOptional(WWBiomes.FLOWER_FIELD);

this.getOrCreateTagBuilder(WWBiomeTags.MOOBLOOM_CARNATION)
.add(Biomes.FLOWER_FOREST)
.addOptional(WWBiomes.FLOWER_FIELD)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public final class MoobloomVariants {
public static final ResourceKey<MoobloomVariant> CORNFLOWER = createKey("cornflower");
public static final ResourceKey<MoobloomVariant> LILY_OF_THE_VALLEY = createKey("lily_of_the_valley");
public static final ResourceKey<MoobloomVariant> ALLIUM = createKey("allium");
public static final ResourceKey<MoobloomVariant> BLUE_ORCHID = createKey("blue_orchid");
public static final ResourceKey<MoobloomVariant> CARNATION = createKey("carnation");
public static final ResourceKey<MoobloomVariant> MARIGOLD = createKey("marigold");
public static final ResourceKey<MoobloomVariant> PASQUEFLOWER = createKey("pasqueflower");
Expand Down Expand Up @@ -103,6 +104,7 @@ public static void bootstrap(BootstrapContext<MoobloomVariant> bootstrapContext)
register(bootstrapContext, CORNFLOWER, Blocks.CORNFLOWER, "moobloom_cornflower", WWBiomeTags.MOOBLOOM_CORNFLOWER);
register(bootstrapContext, LILY_OF_THE_VALLEY, Blocks.LILY_OF_THE_VALLEY, "moobloom_lily_of_the_valley", WWBiomeTags.MOOBLOOM_LILY_OF_THE_VALLEY);
register(bootstrapContext, ALLIUM, Blocks.ALLIUM, "moobloom_allium", WWBiomeTags.MOOBLOOM_ALLIUM);
register(bootstrapContext, BLUE_ORCHID, Blocks.BLUE_ORCHID, "moobloom_blue_orchid", WWBiomeTags.MOOBLOOM_BLUE_ORCHID);
register(bootstrapContext, CARNATION, WWBlocks.CARNATION, "moobloom_carnation", WWBiomeTags.MOOBLOOM_CARNATION);
register(bootstrapContext, MARIGOLD, WWBlocks.MARIGOLD, "moobloom_marigold", WWBiomeTags.MOOBLOOM_MARIGOLD);
register(bootstrapContext, PASQUEFLOWER, WWBlocks.PASQUEFLOWER, "moobloom_pasqueflower", WWBiomeTags.MOOBLOOM_PASQUEFLOWER);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public final class WWBiomeTags {
public static final TagKey<Biome> MOOBLOOM_CORNFLOWER = bind("entity/variant/moobloom_cornflower");
public static final TagKey<Biome> MOOBLOOM_LILY_OF_THE_VALLEY = bind("entity/variant/moobloom_lily_of_the_valley");
public static final TagKey<Biome> MOOBLOOM_ALLIUM = bind("entity/variant/moobloom_allium");
public static final TagKey<Biome> MOOBLOOM_BLUE_ORCHID = bind("entity/variant/moobloom_blue_orchid");
public static final TagKey<Biome> MOOBLOOM_CARNATION = bind("entity/variant/moobloom_carnation");
public static final TagKey<Biome> MOOBLOOM_MARIGOLD = bind("entity/variant/moobloom_marigold");
public static final TagKey<Biome> MOOBLOOM_PASQUEFLOWER = bind("entity/variant/moobloom_pasqueflower");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ public static void addRabbits() {

public static void addMooblooms() {
BiomeModifications.addSpawn(BiomeSelectors.tag(WWBiomeTags.HAS_MOOBLOOM),
MobCategory.CREATURE, WWEntityTypes.MOOBLOOM, 10, 4, 4);
MobCategory.CREATURE, WWEntityTypes.MOOBLOOM, 34, 2, 2);
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 042fa1f

Please sign in to comment.