Class IEntityTarget.Custom

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

public static class IEntityTarget.Custom extends Object implements IEntityTarget
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.petrolpark.data.IEntityTarget

    IEntityTarget.BuiltIn, IEntityTarget.Custom, IEntityTarget.Targets
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity>
     

    Fields inherited from interface com.petrolpark.data.IEntityTarget

    CUSTOM
  • Constructor Summary

    Constructors
    Constructor
    Description
    Custom(net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> param)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.entity.Entity
    get(net.minecraft.world.level.storage.loot.LootContext context)
     
    net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity>
     
     

    Methods inherited from class java.lang.Object

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

    • param

      public final net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> param
  • Constructor Details

    • Custom

      public Custom(net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> param)
  • 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