Interface IEntityTarget

All Known Implementing Classes:
IEntityTarget.BuiltIn, IEntityTarget.Custom

public interface IEntityTarget
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
    static class 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Map<net.minecraft.resources.ResourceLocation,net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity>>
     
  • 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>
     
     
    static void
    register(net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> lootContextParam)
     
  • Field Details

    • CUSTOM

      static final Map<net.minecraft.resources.ResourceLocation,net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity>> CUSTOM
  • Method Details

    • register

      static void register(net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> lootContextParam)
    • get

      net.minecraft.world.entity.Entity get(net.minecraft.world.level.storage.loot.LootContext context)
    • name

      String name()
    • getReferencedParam

      net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> getReferencedParam()
    • getByName

      static IEntityTarget getByName(String name)