Skip to content

Commit

Permalink
feat: add vault and trial spawner as poi blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
boholder committed Aug 17, 2024
1 parent dd48d04 commit 52ae535
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.github.khanshoaib3.minecraft_access.config.config_maps.POIMarkingConfigMap;
import com.github.khanshoaib3.minecraft_access.utils.PlayerUtils;
import com.github.khanshoaib3.minecraft_access.utils.condition.Interval;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import net.minecraft.block.*;
import net.minecraft.client.MinecraftClient;
Expand All @@ -23,6 +24,7 @@
*/
@Slf4j
public class POIBlocks {
@Getter
private static final POIBlocks instance;
private ClientPlayerEntity player;
private ClientWorld world;
Expand All @@ -42,7 +44,9 @@ public class POIBlocks {
Blocks.SCULK_SHRIEKER,
Blocks.SCULK_CATALYST,
Blocks.CALIBRATED_SCULK_SENSOR,
Blocks.SCULK_SENSOR
Blocks.SCULK_SENSOR,
Blocks.VAULT,
Blocks.TRIAL_SPAWNER
};

private static final List<Predicate<BlockState>> poiBlockPredicates = Arrays.stream(POI_BLOCKS)
Expand Down Expand Up @@ -104,10 +108,6 @@ public class POIBlocks {
}
}

public static POIBlocks getInstance() {
return instance;
}

private POIBlocks() {
loadConfigurations();
}
Expand Down

0 comments on commit 52ae535

Please sign in to comment.