java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<net.minecraft.world.entity.EntityType<?>>
mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
mods.thecomputerizer.theimpossiblelibrary.shared.v21.common.entity.Entity1_21
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 Entity1_21 extends mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
  • Field Summary

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI

    effectsGetter, entity, registryName

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    wrapped

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?>
     
    mods.thecomputerizer.theimpossiblelibrary.api.shapes.Box
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.shapes.Box
    getBoundingBox(net.minecraft.world.phys.AABB box)
     
    mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?>
     
    mods.thecomputerizer.theimpossiblelibrary.api.world.DimensionAPI<?>
     
     
    mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?>
     
    mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?>
     
    @Nullable mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?>
     
    mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?>
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
    isOwnedBy(mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?> owner)
     
    boolean
     
    void
    setPosition(double x, double y, double z)
     
    void
    setRegistryName(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> registryName)
     
    double
    x()
     
    double
    y()
     
    double
    z()
     

    Methods 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, unwrapEntity

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    getWrapped, getWrappedClass, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI

    getName, getRegistry, getRegistryName, setForgeRegistryName

    Methods 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

    • Entity1_21

      public Entity1_21(Object entity)
  • Method Details

    • canTarget

      public boolean canTarget()
      Specified by:
      canTarget in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • getAttackTarget

      public mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?> getAttackTarget()
      Specified by:
      getAttackTarget in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • getBoundingBox

      public mods.thecomputerizer.theimpossiblelibrary.api.shapes.Box getBoundingBox()
      Specified by:
      getBoundingBox in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,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:
      getData in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • getDimension

      public mods.thecomputerizer.theimpossiblelibrary.api.world.DimensionAPI<?> getDimension()
      Specified by:
      getDimension in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • getName

      public String getName()
      Specified by:
      getName in interface mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI<net.minecraft.world.entity.EntityType<?>>
      Specified by:
      getName in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • getPos

      public mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> getPos()
      Specified by:
      getPos in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • getRootVehicle

      public mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?> getRootVehicle()
      Specified by:
      getRootVehicle in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • getVehicle

      @Nullable public @Nullable mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?> getVehicle()
      Specified by:
      getVehicle in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • getWorld

      public mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> getWorld()
      Specified by:
      getWorld in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • isAlive

      public boolean isAlive()
      Specified by:
      isAlive in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • isAnimal

      public boolean isAnimal()
      Specified by:
      isAnimal in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • isHostile

      public boolean isHostile()
      Specified by:
      isHostile in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • isLiving

      public boolean isLiving()
      Specified by:
      isLiving in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • isPlayer

      public boolean isPlayer()
      Specified by:
      isPlayer in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • isOwnedBy

      public boolean isOwnedBy(mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?> owner)
      Specified by:
      isOwnedBy in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,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:
      setPosition in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • x

      public double x()
      Specified by:
      x in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • y

      public double y()
      Specified by:
      y in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>
    • z

      public double z()
      Specified by:
      z in class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<net.minecraft.world.entity.Entity,net.minecraft.world.entity.EntityType<?>>