Package com.petrolpark.core.data
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 ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic classNested 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
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<IEntityTarget> static final IEntityTargetstatic 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 TypeMethodDescriptionnet.minecraft.world.entity.Entityget(net.minecraft.world.level.storage.loot.LootContext context) static IEntityTargetnet.minecraft.network.chat.ComponentgetName()static net.minecraft.network.chat.ComponentgetName(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 voidregister(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
-
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
-