Package net.minecraft.world.level.entity
Class LevelEntityGetterAdapter<T extends EntityAccess>
java.lang.Object
net.minecraft.world.level.entity.LevelEntityGetterAdapter<T>
- All Implemented Interfaces:
LevelEntityGetter<T>
public class LevelEntityGetterAdapter<T extends EntityAccess>
extends Object
implements LevelEntityGetter<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EntitySectionStorage<T>
private final EntityLookup<T>
-
Constructor Summary
ConstructorDescriptionLevelEntityGetterAdapter
(EntityLookup<T> p_156943_, EntitySectionStorage<T> p_156944_) -
Method Summary
Modifier and TypeMethodDescriptionget
(int p_156947_) <U extends T>
voidget
(EntityTypeTest<T, U> p_261718_, AbortableIterationConsumer<U> p_262009_) <U extends T>
voidget
(EntityTypeTest<T, U> p_261696_, AABB p_261693_, AbortableIterationConsumer<U> p_261719_) void
getAll()
-
Field Details
-
visibleEntities
-
sectionStorage
-
-
Constructor Details
-
LevelEntityGetterAdapter
-
-
Method Details
-
get
- Specified by:
get
in interfaceLevelEntityGetter<T extends EntityAccess>
-
get
- Specified by:
get
in interfaceLevelEntityGetter<T extends EntityAccess>
-
getAll
- Specified by:
getAll
in interfaceLevelEntityGetter<T extends EntityAccess>
-
get
public <U extends T> void get(EntityTypeTest<T, U> p_261718_, AbortableIterationConsumer<U> p_262009_) - Specified by:
get
in interfaceLevelEntityGetter<T extends EntityAccess>
-
get
- Specified by:
get
in interfaceLevelEntityGetter<T extends EntityAccess>
-
get
public <U extends T> void get(EntityTypeTest<T, U> p_261696_, AABB p_261693_, AbortableIterationConsumer<U> p_261719_) - Specified by:
get
in interfaceLevelEntityGetter<T extends EntityAccess>
-