Skip to content

Commit

Permalink
port to 1.21
Browse files Browse the repository at this point in the history
Took 11 hours 5 minutes
  • Loading branch information
xkball committed Jul 26, 2024
1 parent 030539e commit 98d9d16
Show file tree
Hide file tree
Showing 72 changed files with 1,482 additions and 1,024 deletions.
136 changes: 20 additions & 116 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,122 +1,26 @@
# User-specific stuff
.idea/

*.iml
# eclipse
bin
*.launch
.settings
.metadata
.classpath
.project

# idea
out
*.ipr
*.iws
*.iml
.idea

# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# gradle
build
.gradle
build/

# Ignore Gradle GUI config
gradle-app.setting

# Cache of project
.gradletasknamecache

**/build/

# Common working directory
run/

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
*.psd
# other
eclipse
run
runs
run-data

run_*
**\logs
repo
43 changes: 19 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
# PowerTool

一堆 Minecraft 内的线上展会可能会用到的小玩意。
Installation information
=======

Gadgets that online convention organizers may find useful when holding conventions inside Minecraft.
This template repository can be directly cloned to get you started with a new
mod. Simply create a new repository cloned from this one, by following the
instructions provided by [GitHub](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).

## 特性列表
Once you have your clone, simply open the repository in the IDE of your choice. The usual recommendation for an IDE is either IntelliJ IDEA or Eclipse.

- 周期循环命令方块儿:按一定频率(周期)循环执行命令的命令方块。
- 垃圾桶:外观和原版堆肥桶一致,但丢入其中的物品会立即消失。
- 电源:提供任意数量的 FE 能量输出。
- 供货箱:创造模式下可设定其中的内容物,非创造模式下可以取出。
- 漏斗(装饰品):外观和原版漏斗一致的方块,但没有任何实际功能,也没有方块实体。和原版漏斗一样可以朝四个方向旋转。
- 营火(装饰品):外观和营火一致的方块,但没有任何实际功能,也没有方块实体。不能当作烟雾信号源使用。
- 灵魂营火(装饰品):外观和灵魂营火一致的方块,但没有任何实际功能,也没有方块实体。不能当作烟雾信号源使用。
- 全息投影告示牌:和空气类似的方块,但能像告示牌一样显示文字,可以选择一定朝向玩家或者面向垂直于y轴的特定方向。创造模式下右击可打开编辑界面。
- 看起来没用的木棍:没有任何功能的物品,外观和原版木棍一致,但有附魔的特效。
- MoTD:玩家进入游戏后会收到一条聊天消息,消息内容可自定义。
- 栅栏绳结:原版拴绳现在可以将两根栅栏拴在一起。
- 更多没有方块实体的“装饰”方块
- 物品展示框和荧光物品展示框(但是方块版本):可以旋转其中物品,支持红石比较器检测,支持隐藏框体。极难破坏。
- 透明刷:右键可直接将方块模式的展示框变为透明。
- 未完待续 To be continued
If at any point you are missing libraries in your IDE, or you've run into problems you can
run `gradlew --refresh-dependencies` to refresh the local cache. `gradlew clean` to reset everything
{this does not affect your code} and then start the process again.

## 鸣谢
Mapping Names:
============
By default, the MDK is configured to use the official mapping names from Mojang for methods and fields
in the Minecraft codebase. These names are covered by a specific license. All modders should be aware of this
license. For the latest license text, refer to the mapping file itself, or the reference copy here:
https://github.com/NeoForged/NeoForm/blob/main/Mojang.md

- `src/main/resources/assets/powertool/sound/item/clap.ogg`
出自 [https://freesound.org/people/mikaelfernstrom/sounds/68727/](https://freesound.org/people/mikaelfernstrom/sounds/68727/)
在 CC-BY 4.0 许可证下发布,有修改。
- 全息投影告示牌的部分代码改编自 [ModFest 团队维护的 GlowCase 模组](https://github.com/ModFest/glowcase),该模组代码在 CC-1.0 许可证下发布。
Additional Resources:
==========
Community Documentation: https://docs.neoforged.net/
NeoForged Discord: https://discord.neoforged.net/
Loading

0 comments on commit 98d9d16

Please sign in to comment.