From 2539fff388d3b3f51152d3d9fb586c14f824c0f7 Mon Sep 17 00:00:00 2001 From: "std::move()" <102883015+glibcxx@users.noreply.github.com> Date: Mon, 25 Nov 2024 20:57:27 +0800 Subject: [PATCH] fix auto build, prepare for next release --- CHANGELOG.md | 26 +++++++++++++++++++ README.md | 2 +- .../Commands/CustomFallingBlock.cpp | 4 +-- src/figure_hack/Commands/GiveMagicStick.cpp | 2 ++ src/figure_hack/Commands/QueryPendingTick.cpp | 9 ++++--- src/figure_hack/Commands/QueryPendingTick.h | 2 ++ src/figure_hack/Commands/TickCommand.cpp | 2 ++ 7 files changed, 41 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d013ff..7a109e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index b5280e8..538c4da 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Figure Hack -一个有助于分析红石系统的小工具 +一个有助于分析红石系统的小工具,但将不限于此。 ## 安装 diff --git a/src/figure_hack/Commands/CustomFallingBlock.cpp b/src/figure_hack/Commands/CustomFallingBlock.cpp index 47a907d..608736a 100644 --- a/src/figure_hack/Commands/CustomFallingBlock.cpp +++ b/src/figure_hack/Commands/CustomFallingBlock.cpp @@ -1,7 +1,7 @@ -#pragma once - #include "CustomFallingBlock.h" +#include + #include #include #include diff --git a/src/figure_hack/Commands/GiveMagicStick.cpp b/src/figure_hack/Commands/GiveMagicStick.cpp index c4ac97d..318f59c 100644 --- a/src/figure_hack/Commands/GiveMagicStick.cpp +++ b/src/figure_hack/Commands/GiveMagicStick.cpp @@ -1,5 +1,7 @@ #include "GiveMagicStick.h" +#include + #include #include #include diff --git a/src/figure_hack/Commands/QueryPendingTick.cpp b/src/figure_hack/Commands/QueryPendingTick.cpp index b3ac1a2..812bf18 100644 --- a/src/figure_hack/Commands/QueryPendingTick.cpp +++ b/src/figure_hack/Commands/QueryPendingTick.cpp @@ -1,7 +1,5 @@ #include "QueryPendingTick.h" -#include - #include #include #include @@ -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>(&pt, 16); BlockTickingQueue::TickDataSet copiedQueue; diff --git a/src/figure_hack/Commands/QueryPendingTick.h b/src/figure_hack/Commands/QueryPendingTick.h index 5ec40d6..df37aea 100644 --- a/src/figure_hack/Commands/QueryPendingTick.h +++ b/src/figure_hack/Commands/QueryPendingTick.h @@ -1,5 +1,7 @@ #pragma once +#include + #include #include #include diff --git a/src/figure_hack/Commands/TickCommand.cpp b/src/figure_hack/Commands/TickCommand.cpp index 8115b66..8ec601a 100644 --- a/src/figure_hack/Commands/TickCommand.cpp +++ b/src/figure_hack/Commands/TickCommand.cpp @@ -1,5 +1,7 @@ #include "TickCommand.h" +#include + #include #include #include