diff options
Diffstat (limited to 'src/main/java/moe/nea/funnyteleporters/FunnyDropTableProvider.java')
-rw-r--r-- | src/main/java/moe/nea/funnyteleporters/FunnyDropTableProvider.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/java/moe/nea/funnyteleporters/FunnyDropTableProvider.java b/src/main/java/moe/nea/funnyteleporters/FunnyDropTableProvider.java new file mode 100644 index 0000000..cf2643a --- /dev/null +++ b/src/main/java/moe/nea/funnyteleporters/FunnyDropTableProvider.java @@ -0,0 +1,18 @@ +package moe.nea.funnyteleporters; + +import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; +import net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootTableProvider; +import net.minecraft.registry.RegistryWrapper; + +import java.util.concurrent.CompletableFuture; + +public class FunnyDropTableProvider extends FabricBlockLootTableProvider { + protected FunnyDropTableProvider(FabricDataOutput dataOutput, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookup) { + super(dataOutput, registryLookup); + } + + @Override + public void generate() { + addDrop(FunnyRegistry.COLOURED_CHEST); + } +} |