31 lines
903 B
Java
31 lines
903 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* org.jspecify.annotations.Nullable
|
|
*/
|
|
package net.minecraft.world.level.entity;
|
|
|
|
import java.util.UUID;
|
|
import java.util.function.Consumer;
|
|
import net.minecraft.util.AbortableIterationConsumer;
|
|
import net.minecraft.world.level.entity.EntityAccess;
|
|
import net.minecraft.world.level.entity.EntityTypeTest;
|
|
import net.minecraft.world.phys.AABB;
|
|
import org.jspecify.annotations.Nullable;
|
|
|
|
public interface LevelEntityGetter<T extends EntityAccess> {
|
|
public @Nullable T get(int var1);
|
|
|
|
public @Nullable T get(UUID var1);
|
|
|
|
public Iterable<T> getAll();
|
|
|
|
public <U extends T> void get(EntityTypeTest<T, U> var1, AbortableIterationConsumer<U> var2);
|
|
|
|
public void get(AABB var1, Consumer<T> var2);
|
|
|
|
public <U extends T> void get(EntityTypeTest<T, U> var1, AABB var2, AbortableIterationConsumer<U> var3);
|
|
}
|
|
|