Skip to content

Commit

Permalink
FIxes
Browse files Browse the repository at this point in the history
updated netherfortress block list, fixed some verwsion numbering, updated git ingnore.
  • Loading branch information
Julieisbaka committed Aug 31, 2024
1 parent ddea709 commit 40b73d8
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ logs
.idea/*
!.idea/copyright/*
!.idea/scopes/*

.fake
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ archives_base_name=meteor-client
# Dependency Versions

# Baritone (https://github.com/MeteorDevelopment/baritone)
baritone_version=1.21
baritone_version=1.21.1

# Sodium (https://github.com/CaffeineMC/sodium-fabric)
sodium_version=mc1.21-0.6.0-beta.1-fabric
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public String getDescription() {
public List<String> getAliases() {
return aliases;
}

@override
public String toString() {
return Config.get().prefix.get() + name;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@

package meteordevelopment.meteorclient.commands.commands;

import baritone.api.BaritoneAPI;
import java.util.List;

import org.jetbrains.annotations.Nullable;

import com.mojang.brigadier.builder.LiteralArgumentBuilder;

import baritone.api.BaritoneAPI;
import meteordevelopment.meteorclient.MeteorClient;
import meteordevelopment.meteorclient.commands.Command;
import meteordevelopment.meteorclient.events.packets.PacketEvent;
Expand Down Expand Up @@ -34,9 +39,6 @@
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3d;
import net.minecraft.world.World;
import org.jetbrains.annotations.Nullable;

import java.util.List;

public class LocateCommand extends Command {
private Vec3d firstStart;
Expand All @@ -47,7 +49,8 @@ public class LocateCommand extends Command {
private final List<Block> netherFortressBlocks = List.of(
Blocks.NETHER_BRICKS,
Blocks.NETHER_BRICK_FENCE,
Blocks.NETHER_WART
Blocks.NETHER_WART,
Blocks.CRACKED_NETHER_BRICKS
);

private final List<Block> monumentBlocks = List.of(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public void render(WWidget widget, MatrixStack matrices) {
private void renderWidget(WWidget widget) {
lineBox(widget.x, widget.y, widget.width, widget.height, WIDGET_COLOR);

if (widget instanceof WContainer) {
for (Cell<?> cell : ((WContainer) widget).cells) {
if (widget instanceof WContainer wContainer) {
for (Cell<?> cell : wContainer.cells) {
lineBox(cell.x, cell.y, cell.width, cell.height, CELL_COLOR);
renderWidget(cell.widget());
}
Expand Down

0 comments on commit 40b73d8

Please sign in to comment.