Interface IEntityTarget

All Superinterfaces:
net.minecraft.util.StringRepresentable
All Known Implementing Classes:
IEntityTarget.BuiltIn, IEntityTarget.Custom

public interface IEntityTarget extends net.minecraft.util.StringRepresentable
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from interface net.minecraft.util.StringRepresentable

    net.minecraft.util.StringRepresentable.EnumCodec<E extends Enum<E> & net.minecraft.util.StringRepresentable>, net.minecraft.util.StringRepresentable.StringRepresentableCodec<S extends net.minecraft.util.StringRepresentable>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<IEntityTarget>
     
    static final IEntityTarget
     
    static final Map<net.minecraft.resources.ResourceLocation,net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity>>
     

    Fields inherited from interface net.minecraft.util.StringRepresentable

    PRE_BUILT_MAP_THRESHOLD
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.entity.Entity
    get(net.minecraft.world.level.storage.loot.LootContext context)
     
     
    net.minecraft.network.chat.Component
     
    static net.minecraft.network.chat.Component
    getName(net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> param)
     
    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)
     

    Methods inherited from interface net.minecraft.util.StringRepresentable

    getSerializedName
  • 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
    • CODEC

      static final com.mojang.serialization.Codec<IEntityTarget> CODEC
    • CONTEXT_THIS

      static final IEntityTarget CONTEXT_THIS
  • Method Details

    • register

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

      net.minecraft.network.chat.Component getName()
    • getName

      static net.minecraft.network.chat.Component getName(net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> param)
    • get

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

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

      static IEntityTarget getByName(String name)