Class TideLootItem

java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
com.li64.tide.data.TideLootItem

public class TideLootItem extends net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer

    net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.Builder<T extends net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.Builder<T>>, net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.EntryBase, net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.EntryConstructor, net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer.Serializer<T extends net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
     
    static final net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
     

    Fields inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer

    DEFAULT_QUALITY, DEFAULT_WEIGHT, functions, quality, weight

    Fields inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer

    conditions
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    TideLootItem(net.minecraft.world.item.Item item, int weight, int quality, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] lootItemConditions, net.minecraft.world.level.storage.loot.functions.LootItemFunction[] lootItemFunctions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
    and(net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer arg0)
     
    protected void
    createItemStack(Consumer<net.minecraft.world.item.ItemStack> consumer, net.minecraft.world.level.storage.loot.LootContext lootContext)
     
    static net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?>
    entry(net.minecraft.world.level.ItemLike item)
     
    net.minecraft.world.level.storage.loot.entries.LootPoolEntryType
     
    default net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer
    or(net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer arg0)
     

    Methods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer

    expand, simpleBuilder, validate

    Methods inherited from class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer

    canRun

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ALWAYS_FALSE

      static final net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer ALWAYS_FALSE
    • ALWAYS_TRUE

      static final net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer ALWAYS_TRUE
  • Constructor Details

    • TideLootItem

      protected TideLootItem(net.minecraft.world.item.Item item, int weight, int quality, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] lootItemConditions, net.minecraft.world.level.storage.loot.functions.LootItemFunction[] lootItemFunctions)
  • Method Details

    • entry

      public static net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Builder<?> entry(net.minecraft.world.level.ItemLike item)
    • createItemStack

      protected void createItemStack(Consumer<net.minecraft.world.item.ItemStack> consumer, net.minecraft.world.level.storage.loot.LootContext lootContext)
      Specified by:
      createItemStack in class net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer
    • getType

      public net.minecraft.world.level.storage.loot.entries.LootPoolEntryType getType()
      Specified by:
      getType in class net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer
    • and

      default net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer and(net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer arg0)
    • or

      default net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer or(net.minecraft.world.level.storage.loot.entries.ComposableEntryContainer arg0)