2025-11-24 22:52:51 +03:00

25 lines
845 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.world.level;
import java.util.Optional;
import java.util.function.Predicate;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.block.entity.BlockEntity;
import net.minecraft.world.level.block.entity.BlockEntityType;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.levelgen.Heightmap;
import net.minecraft.world.level.material.FluidState;
public interface LevelSimulatedReader {
public boolean isStateAtPosition(BlockPos var1, Predicate<BlockState> var2);
public boolean isFluidAtPosition(BlockPos var1, Predicate<FluidState> var2);
public <T extends BlockEntity> Optional<T> getBlockEntity(BlockPos var1, BlockEntityType<T> var2);
public BlockPos getHeightmapPos(Heightmap.Types var1, BlockPos var2);
}