chore: remove comments
This commit is contained in:
parent
3f5e7acc0f
commit
01041fb645
@ -190,11 +190,9 @@ class KeyInputHandler {
|
|||||||
RouteMarker(boundXMin.toInt(), boundYMin.toInt(), boundZMin.toInt(), 0u, 1u, 0u, RouteOptions("Min Bounds"))
|
RouteMarker(boundXMin.toInt(), boundYMin.toInt(), boundZMin.toInt(), 0u, 1u, 0u, RouteOptions("Min Bounds"))
|
||||||
|
|
||||||
Minecraft.getMinecraft().thePlayer.addChatMessage(ChatComponentText("Searching..."))
|
Minecraft.getMinecraft().thePlayer.addChatMessage(ChatComponentText("Searching..."))
|
||||||
// Loop over each block in the defined bounds
|
|
||||||
for (x in boundXMin.toInt()..boundXMax.toInt()) {
|
for (x in boundXMin.toInt()..boundXMax.toInt()) {
|
||||||
for (y in boundYMin.toInt()..boundYMax.toInt()) {
|
for (y in boundYMin.toInt()..boundYMax.toInt()) {
|
||||||
for (z in boundZMin.toInt()..boundZMax.toInt()) {
|
for (z in boundZMin.toInt()..boundZMax.toInt()) {
|
||||||
// Get the block at the current coordinates
|
|
||||||
val block = world.getBlockState(BlockPos(x, y, z)).block
|
val block = world.getBlockState(BlockPos(x, y, z)).block
|
||||||
if (block == Blocks.chest || block == Blocks.trapped_chest || block == Blocks.ender_chest) {
|
if (block == Blocks.chest || block == Blocks.trapped_chest || block == Blocks.ender_chest) {
|
||||||
val point = RouteMarker(x, y, z, 0u, 0u, 1u, RouteOptions("Located point"))
|
val point = RouteMarker(x, y, z, 0u, 0u, 1u, RouteOptions("Located point"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user