Skip to content

Commit

Permalink
fix auto build, prepare for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
glibcxx committed Nov 25, 2024
1 parent 72d28c2 commit 2539fff
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 6 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,29 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.0] - 2024-11-25

### What's new

新增两个指令:

- 生成任意 fallingBlock `/falling`
- 获取任意方块物品 `/blockitem`

### Bug fix

- 修复使用`info`指令时丢失的方块选中提示。

## [0.2.1] - 2024-11-23

### What's new

新增了两个指令功能:

- 获取计划刻信息的指令 `/pdtick`
- 获取实体坐标和速度的指令 `/info actor`

## [0.1.0] - 2024-10-04

figure hack 的第一个 release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Figure Hack

一个有助于分析红石系统的小工具
一个有助于分析红石系统的小工具,但将不限于此。

## 安装

Expand Down
4 changes: 2 additions & 2 deletions src/figure_hack/Commands/CustomFallingBlock.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include "CustomFallingBlock.h"

#include <span>

#include <cstdint>
#include <limits>
#include <ll/api/command/Command.h>
Expand Down
2 changes: 2 additions & 0 deletions src/figure_hack/Commands/GiveMagicStick.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "GiveMagicStick.h"

#include <span>

#include <ll/api/command/Command.h>
#include <ll/api/command/CommandHandle.h>
#include <ll/api/command/CommandRegistrar.h>
Expand Down
9 changes: 6 additions & 3 deletions src/figure_hack/Commands/QueryPendingTick.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include "QueryPendingTick.h"

#include <span>

#include <ll/api/command/Command.h>
#include <ll/api/command/CommandHandle.h>
#include <ll/api/command/CommandRegistrar.h>
Expand Down Expand Up @@ -57,7 +55,12 @@ void QueryPendingTickCommand::init() {
});
}

void QueryPendingTickCommand::getPtInfoAtChunkPos(BlockSource& region, const ChunkPos& chunkPos, CommandOutput& output, int displayTime) {
void QueryPendingTickCommand::getPtInfoAtChunkPos(
BlockSource& region,
const ChunkPos& chunkPos,
CommandOutput& output,
int displayTime
) {
BlockTickingQueue& pt = region.getChunk(chunkPos)->getTickQueue();
auto nextTickQueue = ll::memory::dAccess<std::vector<BlockTickingQueue::BlockTick>>(&pt, 16);
BlockTickingQueue::TickDataSet copiedQueue;
Expand Down
2 changes: 2 additions & 0 deletions src/figure_hack/Commands/QueryPendingTick.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include <span>

#include <ll/api/command/Command.h>
#include <ll/api/command/CommandHandle.h>
#include <ll/api/command/CommandRegistrar.h>
Expand Down
2 changes: 2 additions & 0 deletions src/figure_hack/Commands/TickCommand.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "TickCommand.h"

#include <span>

#include <ll/api/command/Command.h>
#include <ll/api/command/CommandHandle.h>
#include <ll/api/command/CommandRegistrar.h>
Expand Down

0 comments on commit 2539fff

Please sign in to comment.