Class Living1_20
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<V>
mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<L,V>
mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
mods.thecomputerizer.theimpossiblelibrary.shared.v20.common.entity.Living1_20
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor,mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI<net.minecraft.world.entity.EntityType<?>>,mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.world.entity.EntityType<?>>
public class Living1_20
extends mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
Field Summary
Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI
effectsGetter, entity, registryNameFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped
wrappedFields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor
BOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?> mods.thecomputerizer.theimpossiblelibrary.api.shapes.Boxprotected mods.thecomputerizer.theimpossiblelibrary.api.shapes.BoxgetBoundingBox(net.minecraft.world.phys.AABB box) mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?>getData()mods.thecomputerizer.theimpossiblelibrary.api.world.DimensionAPI<?>floatfloatgetName()mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?>getPos()mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?> @Nullable mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?> mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?>getWorld()booleanisAlive()booleanisAnimal()booleanbooleanisLiving()booleanisOwnedBy(mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?, ?> owner) booleanisPlayer()voidsetPosition(double x, double y, double z) voidsetRegistryName(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> registryName) doublex()doubley()doublez()Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI
getHealthPercentMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI
equals, getActiveEffects, getActiveEffectsMethodName, getDistanceTo, getDistanceTo, getDistanceTo, getEffectsGetter, getEntity, getPosExact, getPosRounded, getRegistryName, isErroredEffects, setLocalRegistryName, setPosition, setPosition, setPosition, unwrapEntityMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped
getWrapped, getWrappedClass, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI
getName, getRegistry, getRegistryName, setForgeRegistryNameMethods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped
getIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, getWrapped, getWrappedClass, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefault
-
Constructor Details
-
Living1_20
-
-
Method Details
-
canTarget
public boolean canTarget()- Specified by:
canTargetin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
getAttackTarget
public mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?> getAttackTarget()- Specified by:
getAttackTargetin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
getBoundingBox
public mods.thecomputerizer.theimpossiblelibrary.api.shapes.Box getBoundingBox()- Specified by:
getBoundingBoxin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
getBoundingBox
protected mods.thecomputerizer.theimpossiblelibrary.api.shapes.Box getBoundingBox(net.minecraft.world.phys.AABB box) -
getData
public mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?> getData()- Specified by:
getDatain classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
getDimension
public mods.thecomputerizer.theimpossiblelibrary.api.world.DimensionAPI<?> getDimension()- Specified by:
getDimensionin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
getHealth
public float getHealth()- Specified by:
getHealthin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
getMaxHealth
public float getMaxHealth()- Specified by:
getMaxHealthin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
getName
- Specified by:
getNamein interfacemods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI<net.minecraft.world.entity.EntityType<?>>- Specified by:
getNamein classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
getPos
public mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> getPos()- Specified by:
getPosin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
getRootVehicle
public mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?> getRootVehicle()- Specified by:
getRootVehiclein classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
getVehicle
@Nullable public @Nullable mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?> getVehicle()- Specified by:
getVehiclein classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
getWorld
public mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> getWorld()- Specified by:
getWorldin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
isAlive
public boolean isAlive()- Specified by:
isAlivein classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
isAnimal
public boolean isAnimal()- Specified by:
isAnimalin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
isHostile
public boolean isHostile()- Specified by:
isHostilein classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
isLiving
public boolean isLiving()- Specified by:
isLivingin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
isPlayer
public boolean isPlayer()- Specified by:
isPlayerin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
isOwnedBy
public boolean isOwnedBy(mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?, ?> owner) - Specified by:
isOwnedByin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
setRegistryName
public void setRegistryName(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> registryName) -
setPosition
public void setPosition(double x, double y, double z) - Specified by:
setPositionin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
x
public double x()- Specified by:
xin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
y
public double y()- Specified by:
yin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-
z
public double z()- Specified by:
zin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.LivingEntity,net.minecraft.world.entity.EntityType<?>>
-