Class IEntityTarget.None

java.lang.Object
petrolpark.mc.library.core.data.IEntityTarget.None
All Implemented Interfaces:
net.minecraft.util.StringRepresentable, IEntityTarget
Enclosing interface:
IEntityTarget

public static class IEntityTarget.None extends Object implements IEntityTarget
  • Constructor Details

    • None

      public None()
  • Method Details

    • getName

      public net.minecraft.network.chat.Component getName()
      Specified by:
      getName in interface IEntityTarget
    • getSerializedName

      public String getSerializedName()
      Specified by:
      getSerializedName in interface net.minecraft.util.StringRepresentable
    • get

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

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