Package com.petrolpark.data
Class IEntityTarget.Custom
java.lang.Object
com.petrolpark.data.IEntityTarget.Custom
- All Implemented Interfaces:
IEntityTarget
- Enclosing interface:
- IEntityTarget
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.petrolpark.data.IEntityTarget
IEntityTarget.BuiltIn, IEntityTarget.Custom, IEntityTarget.Targets -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity>Fields inherited from interface com.petrolpark.data.IEntityTarget
CUSTOM -
Constructor Summary
ConstructorsConstructorDescriptionCustom(net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> param) -
Method Summary
-
Field Details
-
param
public final net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> param
-
-
Constructor Details
-
Custom
public Custom(net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> param)
-
-
Method Details
-
get
public net.minecraft.world.entity.Entity get(net.minecraft.world.level.storage.loot.LootContext context) - Specified by:
getin interfaceIEntityTarget
-
name
- Specified by:
namein interfaceIEntityTarget
-
getReferencedParam
public net.minecraft.world.level.storage.loot.parameters.LootContextParam<? extends net.minecraft.world.entity.Entity> getReferencedParam()- Specified by:
getReferencedParamin interfaceIEntityTarget
-