blob: cb27621b43c6c2a3e858731a9c73faac3a434500 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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);
addDrop(FunnyRegistry.ENDER_PEARL_BLOCK);
addDrop(FunnyRegistry.TELEPORTER);
}
}
|