Class IEntityTarget.BuiltIn

java.lang.Object
com.petrolpark.data.IEntityTarget.BuiltIn
All Implemented Interfaces:
IEntityTarget
Enclosing interface:
IEntityTarget

public static class IEntityTarget.BuiltIn extends Object implements IEntityTarget
  • Field Details

    • target

      public final net.minecraft.world.level.storage.loot.LootContext.EntityTarget target
  • Constructor Details

    • BuiltIn

      public BuiltIn(net.minecraft.world.level.storage.loot.LootContext.EntityTarget target)
  • Method Details

    • get

      public net.minecraft.world.entity.Entity get(net.minecraft.world.level.storage.loot.LootContext context)
      Specified by:
      get in interface IEntityTarget
    • name

      public String name()
      Specified by:
      name in interface IEntityTarget
    • getReferencedParam

      public net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> getReferencedParam()
      Specified by:
      getReferencedParam in interface IEntityTarget