[Change] Force Generation of Tag c:nether_mycelium
This commit is contained in:
parent
ef08cecb8b
commit
efdfff16ca
1 changed files with 9 additions and 1 deletions
|
@ -2,6 +2,7 @@ package org.betterx.datagen.betterend;
|
||||||
|
|
||||||
import org.betterx.bclib.api.v3.datagen.TagDataProvider;
|
import org.betterx.bclib.api.v3.datagen.TagDataProvider;
|
||||||
import org.betterx.betterend.BetterEnd;
|
import org.betterx.betterend.BetterEnd;
|
||||||
|
import org.betterx.worlds.together.tag.v3.CommonBlockTags;
|
||||||
import org.betterx.worlds.together.tag.v3.TagManager;
|
import org.betterx.worlds.together.tag.v3.TagManager;
|
||||||
|
|
||||||
import net.minecraft.core.HolderLookup;
|
import net.minecraft.core.HolderLookup;
|
||||||
|
@ -10,6 +11,7 @@ import net.minecraft.world.level.block.Block;
|
||||||
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput;
|
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Set;
|
||||||
import java.util.concurrent.CompletableFuture;
|
import java.util.concurrent.CompletableFuture;
|
||||||
|
|
||||||
public class EndBlockTagDataProvider extends TagDataProvider<Block> {
|
public class EndBlockTagDataProvider extends TagDataProvider<Block> {
|
||||||
|
@ -18,6 +20,12 @@ public class EndBlockTagDataProvider extends TagDataProvider<Block> {
|
||||||
FabricDataOutput output,
|
FabricDataOutput output,
|
||||||
CompletableFuture<HolderLookup.Provider> registriesFuture
|
CompletableFuture<HolderLookup.Provider> registriesFuture
|
||||||
) {
|
) {
|
||||||
super(TagManager.BLOCKS, List.of("minecraft", BetterEnd.MOD_ID, "c"), output, registriesFuture);
|
super(
|
||||||
|
TagManager.BLOCKS,
|
||||||
|
List.of("minecraft", BetterEnd.MOD_ID, "c"),
|
||||||
|
Set.of(CommonBlockTags.NETHER_MYCELIUM),
|
||||||
|
output,
|
||||||
|
registriesFuture
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue