Package com.petrolpark.data
Class IEntityTarget.BuiltIn
java.lang.Object
com.petrolpark.data.IEntityTarget.BuiltIn
- 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.LootContext.EntityTargetFields inherited from interface com.petrolpark.data.IEntityTarget
CUSTOM -
Constructor Summary
ConstructorsConstructorDescriptionBuiltIn(net.minecraft.world.level.storage.loot.LootContext.EntityTarget target) -
Method Summary
-
Field Details
-
target
public final net.minecraft.world.level.storage.loot.LootContext.EntityTarget target
-
-
Constructor Details
-
BuiltIn
public BuiltIn(net.minecraft.world.level.storage.loot.LootContext.EntityTarget target)
-
-
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
-