Object EntityExt

  • All Implemented Interfaces:

    
    public class EntityExt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static EntityExt INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <T extends Entity> Unit discardNearest(Class<T> $self, Vec3 pos, Level level, Number maxDist)
      final <T extends Entity> Unit teleport(T $self, Vec3 pos)
      final <T extends Entity> Unit teleport(T $self, BlockPos pos)
      final <T extends Entity> Boolean isWithin(T $self, Vec3 pos, Number distance)
      final <T extends Entity> T applyRandomRotation(T $self)
      final <T extends Entity> T closest(List<T> $self, Vec3 pos)
      • Methods inherited from class java.lang.Object

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