Class LootEntry

java.lang.Object
net.rebel459.unified.api.event.LootEntry

public class LootEntry extends Object
  • Field Details

    • MAP_CODEC

      public static final com.mojang.serialization.MapCodec<LootEntry> MAP_CODEC
  • Method Details

    • getType

      public LootEntry.Type getType()
    • getEntry

      public Optional<net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>> getEntry()
    • insert

      public static LootEntry insert(net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?> entry)
    • replace

      public static LootEntry replace(net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?> entry)
    • remove

      public static LootEntry remove()