Object EntityExt
-
- All Implemented Interfaces:
public class EntityExt
-
-
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)
-
-
Method Detail
-
discardNearest
final <T extends Entity> Unit discardNearest(Class<T> $self, Vec3 pos, Level level, Number maxDist)
-
applyRandomRotation
final <T extends Entity> T applyRandomRotation(T $self)
-
-
-
-