Package com.petrolpark.data
Interface IEntityTarget
- All Known Implementing Classes:
IEntityTarget.BuiltIn,IEntityTarget.Custom
public interface IEntityTarget
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.Entityget(net.minecraft.world.level.storage.loot.LootContext context) static IEntityTargetnet.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity>name()static voidregister(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
-