Class LootTableIdCondition.Builder

java.lang.Object
net.neoforged.neoforge.common.loot.LootTableIdCondition.Builder
All Implemented Interfaces:
net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder
Enclosing class:
LootTableIdCondition

public static class LootTableIdCondition.Builder extends Object implements net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final net.minecraft.resources.ResourceLocation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Builder(net.minecraft.resources.ResourceLocation targetLootTableId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.storage.loot.predicates.LootItemCondition
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder

    and, invert, or
  • Field Details

    • targetLootTableId

      private final net.minecraft.resources.ResourceLocation targetLootTableId
  • Constructor Details

    • Builder

      public Builder(net.minecraft.resources.ResourceLocation targetLootTableId)
  • Method Details

    • build

      public net.minecraft.world.level.storage.loot.predicates.LootItemCondition build()
      Specified by:
      build in interface net.minecraft.world.level.storage.loot.predicates.LootItemCondition.Builder