[ci skip] Add loot table modification event (#287)

* Add loot table modification event

Closes #42. It's a simple wrapper around the platform events.

* Add param for builtin loot tables

Co-authored-by: shedaniel <daniel@shedaniel.me>
This commit is contained in:
Juuxel
2022-07-20 18:22:47 +03:00
committed by GitHub
parent c259d62ba3
commit f0555ce0eb
7 changed files with 228 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ import dev.architectury.test.entity.TestEntity;
import dev.architectury.test.events.DebugEvents;
import dev.architectury.test.gamerule.TestGameRules;
import dev.architectury.test.item.TestBlockInteractions;
import dev.architectury.test.loot.TestLoot;
import dev.architectury.test.networking.TestModNet;
import dev.architectury.test.particle.TestParticles;
import dev.architectury.test.registry.TestRegistries;
@@ -56,6 +57,7 @@ public class TestMod {
TestParticles.initialize();
TestModNet.initialize();
TestBlockInteractions.init();
TestLoot.init();
TestWorldGeneration.initialize();
EnvExecutor.runInEnv(Env.CLIENT, () -> TestMod.Client::initializeClient);
}