Carpet-AMS-Addition

A fabric-carpet extension mod. It offers some interesting and useful features.

LGPL-3.0 License

Stars
45
Committers
6

Bot releases are visible (Hide)

Carpet-AMS-Addition - Carpet-AMS-Addition v2.16.0

Published by 1024-byteeeee 11 months ago

Carpet-AMS-Addition - Carpet-AMS-Addition v2.15.0

Published by 1024-byteeeee 11 months ago

Carpet-AMS-Addition - Carpet-AMS-Addition v2.14.5

Published by 1024-byteeeee 11 months ago

Carpet-AMS-Addition - Carpet-AMS-Addition v2.14.4

Published by 1024-byteeeee 11 months ago

Carpet-AMS-Addition - Carpet-AMS-Addition v2.14.3

Published by 1024-byteeeee 11 months ago

Carpet-AMS-Addition - Carpet-AMS-Addition v2.14.2

Published by 1024-byteeeee 11 months ago

Carpet-AMS-Addition - Carpet-AMS-Addition v2.14.1

Published by 1024-byteeeee 11 months ago

Carpet-AMS-Addition - Carpet-AMS-Addition v2.14.0

Published by 1024-byteeeee 11 months ago

Carpet-AMS-Addition - Carpet-AMS-Addition v2.13.1

Published by 1024-byteeeee 11 months ago

修复

  • 修复了Minecraft 1.19.4 -> 1.20.2中英文规则列表的重复显示问题。

比如:superBow (superBow) -> superBow


Fix

  • Fixed the issue of duplicate display in the English rule list from Minecraft 1.19.4 to 1.20.2.

For example: superBow (superBow) -> superBow

Carpet-AMS-Addition - Carpet-AMS-Addition v2.13.0

Published by 1024-byteeeee 11 months ago

新增规则

大潜影盒 (largeShulkerBox)

让潜影盒容量增加一倍(与大箱子相同)。

该规则目前并不完善,使用该规则请遵守如下步骤:
1 - 确保没有潜影盒被加载。
2 - 输入指令:/carpet setDefault largeShulkerBox true 开启规则。
3 - 重启服务器/单人世界。
4 - 关闭该规则同理。

  • 类型: boolean
  • 默认值: false
  • 参考选项: false , true
  • 分类: AMS , FEATURE, EXPERIMENTAL

New Rules

largeShulkerBox

Doubles the size of your ShulkerBox.

The current rule is not yet perfect. Please follow the steps below when using this rule:
1 - To ensure that no shulker boxes are loaded.
2 - Enter the command: /carpet setDefault largeShulkerBox true, to turn on the rule.
3 - Restart the server/single-player world.
4 - Disabling the rule follows the same process.

  • Type: boolean
  • Default: false
  • Suggested options: false , true
  • Categroies: AMS , FEATURE, EXPERIMENTAL
Carpet-AMS-Addition - Carpet-AMS-Addition v2.12.0

Published by 1024-byteeeee 11 months ago

新增规则

更快移动规则控制器 (fasterMovementController)

用于控制快速移动规则在那个维度生效。

  • 类型: String
  • 默认值: all
  • 参考选项: overworld, nether, end, all
  • 分类: AMS , FEATURE , EXPERIMENTAL

修复

  • 修复了 #41 中可移动铁砧在规则列表里的显示问题。

New Rules

fasterMovementController

Used to control in which dimensions fasterMovement rule is effective.

  • Type: String
  • Default: all
  • Suggested options: overworld , nether, end, all
  • Categroies: AMS , FEATURE , EXPERIMENTAL

Fix

  • Fixed the display issue of the movable anvil in the rule list in #41.
Carpet-AMS-Addition - Carpet-AMS-Addition v2.11.0

Published by 1024-byteeeee 11 months ago

更新

  • 新增了如下两项规则用于解决 #38 。

方块区块加载保持实体更新 (blockChunkLoaderKeepTickEntities)

在服务器当前维度没有玩家的300tick后,Minecraft会停止实体相关的更新,这条规则会让以下规则发生加载时绕过这个限制。
受影响的规则:noteBlockChunkLoaderpistonBlockChunkLoaderbellBlockChunkLoader

  • 类型: boolean
  • 默认值: false
  • 参考选项: false , true
  • 分类: AMS , FEATURE

保持实体更新 (keepEntityUpdate)

在服务器当前维度没有玩家的300tick后,Minecraft会停止实体相关的更新,这条规则会绕过这个限制。

  • 类型: boolean

  • 默认值: false

  • 参考选项: false , true

  • 分类: AMS , FEATURE

  • 修改了如下规则的文档。

音符盒区块加载 (noteBlockChunkLoader)

开启后,当上边沿红石信号激活音符盒时,为该音符盒所在区块添加类型为"note_block",加载等级为30的加载票,持续时间为300gt(15s)。

bone_block: 音符盒上有骨块时可以触发加载。

wither_skeleton_skull: 音符盒上有凋灵骷髅头(可以是挂在墙上的也可以是放在音符盒上的)时可以触发加载。

note_block: 无需条件,只有音符盒即可加载。

OFF: 禁用该规则。

由于在服务器当前维度没有玩家的300tick后,Minecraft会停止实体相关的更新,因此每当当前维度中没有玩家时使用该规则加载的区块中漏斗将会停止工作,你可以启用blockChunkLoaderKeepTickEntities或keepEntityUpdate规则来解决这个问题,但个人建议采用放置假人的方式来解决这个问题。

  • 类型: String
  • 默认值: false
  • 参考选项: bone_block , wither_skeleton_skull , note_block , OFF
  • 分类: AMS , FEATURE , AMS_chunkLoader

钟区块加载 (bellBlockChunkLoader)

开启后,当上边沿红石信号激活钟时,为钟方块所在区块添加类型为"bell_block",加载等级为30的加载票,持续时间为300gt(15s)。

由于在服务器当前维度没有玩家的300tick后,Minecraft会停止实体相关的更新,因此每当当前维度中没有玩家时使用该规则加载的区块中漏斗将会停止工作,你可以启用blockChunkLoaderKeepTickEntities或keepEntityUpdate规则来解决这个问题,但个人建议采用放置假人的方式来解决这个问题。

  • 类型: boolean
  • 默认值: false
  • 参考选项: false , true
  • 分类: AMS , FEATURE , AMS_chunkLoader

活塞头区块加载 (pistonBlockChunkLoader)

开启后,当该活塞/黏性活塞产生活塞头的推出/拉回事件时,在创建推出/拉回事件的那一游戏刻为活塞头方块所在区块添加类型为"piston_block",加载等级为30的加载票,持续时间为300gt(15s)。注意,黏性活塞的失败收回事件(如尝试拉回超过12个方块时)也可创建加载票。

bone_block: 活塞\黏性活塞上有骨块时触发加载。

bedrock: 活塞\黏性活塞下有基岩时触发加载。

all: 活塞\黏性活塞下有骨块或基岩时触发加载。

OFF: 禁用该规则。

由于在服务器当前维度没有玩家的300tick后,Minecraft会停止实体相关的更新,因此每当当前维度中没有玩家时使用该规则加载的区块中漏斗将会停止工作,你可以启用blockChunkLoaderKeepTickEntities或keepEntityUpdate规则来解决这个问题,但个人建议采用放置假人的方式来解决这个问题。

如果不想使用地狱门加载链的话,此规则可作为替代方案。

  • 类型: String
  • 默认值: false
  • 参考选项: bone_block , bedrock , all , OFF
  • 分类: AMS , FEATURE , AMS_chunkLoader

修复

  • 修复了Minecraft 1.18.2中规则列表显示不属于1.18.2规则的问题。

致谢

  • 感谢memorydream 在 #38 中给出的解决方案。

其他

  • 如果你需要可自定义时长的方块加载器,可以使用 Carpet-GC-Addition

Update

  • Two new rules have been added to address #38.

blockChunkLoaderKeepTickEntities

After 300 ticks without any players in the current dimension on the server, Minecraft will stop entities updates, This rule will allow the following rules to bypass this restriction when they are loaded.
Affected rules: noteBlockChunkLoader, pistonBlockChunkLoader, bellBlockChunkLoader

  • Type: boolean
  • Default: false
  • Suggested options: false , true
  • Categroies: AMS , FEATURE

keepEntityUpdate

After 300 ticks without any players in the current dimension on the server, Minecraft will stop entities updates, This rule will bypass this restriction.

  • Type: boolean

  • Default: false

  • Suggested options: false , true

  • Categroies: AMS , FEATURE

  • Modified the documentation for the following rules.

noteBlockChunkLoader

When a note block is triggered by rising edge of redstone signal, the chunk which the note block located will be added a ticket with level 30 and type 'note_block', which will expire after 300gt. Note blocks that can be used to add ticket must meet the requirement set by the rule option.

the option is interpreted as follow:

  • bone_block: The note block must have a bone block just above it.

  • wither_skeleton_skull The note block must have a wither skeleton skull just above it. This skull can be either on the note block or attach to another block.

  • note_block: No special requirement for note blocks to add tickets. Warning: as many high frequency clock will use note block, please take it carefully as it may make some chunks loading permanently in an unexpect way.

  • OFF: Disable the rule.

  • Type: String

  • Default: OFF

  • Suggested options: bone_block, wither_skeleton_skull, note_block, OFF

  • Categroies: AMS, FEATURE, AMS_chunkLoader

Due to after 300 ticks without any players in the current dimension on the server, Minecraft will stop entities updates, hoppers in chunks loaded by this rule will cease to function whenever there are no players in the current dimension, You can enable the blockChunkLoaderKeepTickEntities or keepEntityUpdate rules to solve this issue, but I personally recommend using the method of placing fake players to work around this problem.

bellBlockChunkLoader

When a bell block is triggered by rising edge of redstone signal, the chunk which the bell block located will be added a ticket with level 30 and type 'bell_block', which will expire after 300gt. Bell blocks have no special requirement to add tickets.

  • Type: boolean
  • Default: false
  • Suggested options: false, true
  • Categroies: AMS, FEATURE, AMS_chunkLoader

Due to after 300 ticks without any players in the current dimension on the server, Minecraft will stop entities updates, hoppers in chunks loaded by this rule will cease to function whenever there are no players in the current dimension, You can enable the blockChunkLoaderKeepTickEntities or keepEntityUpdate rules to solve this issue, but I personally recommend using the method of placing fake players to work around this problem.

pistonBlockChunkLoader

When a piston (also available for sticky piston) successfully push or pull its head, the chunk which the piston head (the moving block representing piston head) located will be added a ticket with level 30 and type 'piston_block', which will expire after 300gt. The ticket will be added at the tick when the moving block is created. Pistons that can be used to add ticket must meet the requirement set by the rule option.

A pretty good and opportunistic way to supersede nether portal loading chain for Pearl Cannon.

the option is interpreted as follow:

  • bone_block: The piston must have a bone block just above it.
  • bedrock: The piston must have a bedrock just under it.
  • all: When boe_block is on the piston or bed rock is under the piston.
  • OFF: Disable the rule.

Due to after 300 ticks without any players in the current dimension on the server, Minecraft will stop entities updates, hoppers in chunks loaded by this rule will cease to function whenever there are no players in the current dimension, You can enable the blockChunkLoaderKeepTickEntities or keepEntityUpdate rules to solve this issue, but I personally recommend using the method of placing fake players to work around this problem.

  • Type: String
  • Default: OFF
  • Suggested options: bone_block, bedrock, all, OFF
  • Categroies: AMS, FEATURE, AMS_chunkLoader

Fix

  • Fixed the issue where the rule list was displaying rules that did not belong to Minecraft 1.18.2.

Thank

  • Thanks to memorydream for the solution provided in #38.

Other

  • If you need a customizable block loader with adjustable durations, you can use Carpet-GC-Addition.
Carpet-AMS-Addition - Carpet-AMS-Addition v2.10.2

Published by 1024-byteeeee 11 months ago

BUG修复

  • 修复了由 opPlayerNoCheatExtra 引起的游戏崩溃问题。#39

Fix

  • The issue causing game crashes attributed to opPlayerNoCheatExtra has been resolved. #39
Carpet-AMS-Addition - Carpet-AMS-Addition v2.10.1

Published by 1024-byteeeee 12 months ago

新增

  • opPlayerNoCheatExtra 规则进行了拓展。

op玩家不准作弊拓展 (opPlayerNoCheatExtra)

开启后,禁用部分指令以避免op玩家意外地作弊, 建议与Carpet TIS Addition的opPlayerNoCheat一同使用。
影响的指令列表: /difficulty, /kill, /time, /weather, /fill, /setblock, /enchant, /experience, /advancement, /effect, /data, /defaultgamemode
(Carpet TIS Addition)影响的指令列表:/gamemode, /tp, /teleport, /give, /setblock, /summon

  • 类型: boolean
  • 默认值: false
  • 参考选项: false , true
  • 分类: AMS , FEATURE , SURVIVAL , COMMAND

News

  • The opPlayerNoCheatExtra rule has been expanded.

opPlayerNoCheatExtra

When enabled, Disable some command to prevent accidentally cheating, It is recommended to use it with opPlayerNoCheat from Carpet TIS Addition.
Affects command list: /difficulty, /kill, /time, /weather, /fill, /setblock, /enchant, /experience, /advancement, /effect, /data, /defaultgamemode
(Carpet TIS Addition)Affects command list: /gamemode, /tp, /teleport, /give, /setblock, /summon

  • 类型: boolean
  • 默认值: false
  • 参考选项: false , true
  • 分类: AMS , FEATURE , SURVIVAL , COMMAND
Carpet-AMS-Addition - Carpet-AMS-Addition v2.10.0

Published by 1024-byteeeee 12 months ago

新增规则

可掉落蛋糕 (cakeBlockDropOnBreak)

开启后,蛋糕在被破坏时可以掉落蛋糕(蛋糕是完整的情况下才会掉落)。

  • 类型: boolean
  • 默认值: false
  • 参考选项: false , true
  • 分类: AMS , FEATURE , SURVIVAL

不准吃蛋糕 (noCakeEating)

开启后,玩家不可以吃蛋糕。

  • 类型: boolean
  • 默认值: false
  • 参考选项: false , true
  • 分类: AMS , FEATURE , SURVIVAL

红石元件音效 (redstoneComponentSound)

开启后,玩家右键红石元件时会播放声音。
影响的元件:阳光传感器、红石粉、中继器。

  • 类型: boolean
  • 默认值: false
  • 参考选项: false , true
  • 分类: AMS , FEATURE

修复

  • 修复了因 amsUpdateSuppressionCrashFix 导致的物品掉落运动轨迹不正常的问题。

补充说明

  • 由于英文水平有限,目前所有翻译均来自 Chat-GPT (除了很久很久以前 nirvanaxiao6 撰写的第一篇英文文档)。:)

New Rules

cakeBlockDropOnBreak

When enabled, When the cake is destroyed, it can drop cake (the cake will only drop when it is intact).

  • Type: boolean
  • Default: false
  • Suggested options: false , true
  • Categroies: AMS , FEATURE , SURVIVAL

noCakeEating

When enabled, Players are not allowed to consume cake.

  • Type: boolean
  • Default: false
  • Suggested options: false , true
  • Categroies: AMS , FEATURE , SURVIVAL

redstoneComponentSound

When enabled, When players right-click on the redstone component, it will emit a sound.
Affected components: daylight detector, redstone dust, repeater.

  • Type: boolean
  • Default: false
  • Suggested options: false , true
  • Categroies: AMS , FEATURE

Fix

  • The issue with the abnormal trajectory of dropped items caused by amsUpdateSuppressionCrashFix has been fixed.

Additional clarification

  • Due to my limited proficiency in English, all English document translations are currently provided by Chat-GPT, including this sentence (
    Apart from the very first English document authored by nirvanaxiao6 a long, long time ago) :)
Carpet-AMS-Addition - Carpet-AMS-Addition v2.9.2

Published by 1024-byteeeee 12 months ago

更新

  • 使用 MixinExtras 解决与其他模组的兼容性问题。

  • 重新引入了更新抑制防崩溃规则 amsUpdateSuppressionCrashFix

  • 一些代码上的调整。


Update

  • Using MixinExtras Resolve compatibility issues with other mods.

  • The rule amsUpdateSuppressCrashFix has been reintroduced.

  • Some code modify.

Carpet-AMS-Addition - Carpet-AMS-Addition v2.9.1

Published by 1024-byteeeee 12 months ago

优化

  • softDeepslate 规则代码优化。
  • softObsidian 规则代码优化。
  • weakObsidian 规则代码优化。
  • weakCryingObsidian 规则代码优化。
  • weakReinforcedDeepslate 规则代码优化。
  • weakBedRock 规则代码优化。
  • enhancedWorldEater 规则代码优化。
  • largeEnderChest 规则代码优化。

修复

  • 修复了 optimizedDragonRespawn 的一个bug。
  • 现在 softDeepslate 规则不会在1.16.5版本出现。

Optimize

  • softDeepslate rule code optimization.
  • softObsidian rule code optimization.
  • weakObsidian rule code optimization.
  • weakCryingObsidian rule code optimization.
  • weakReinforcedDeepslate rule code optimization.
  • weakBedRock rule code optimization.
  • enhancedWorldEater rule code optimization.
  • largeEnderChest rule code optimization.

Fix

  • Fixed a bug with the optimizedDragonRespawn rule.
  • The softDeepslate rule now does not show in Minecraft-1.16.5.
Carpet-AMS-Addition - Carpet-AMS-Addition v2.9.0

Published by 1024-byteeeee 12 months ago

新增规则

op玩家不准作弊拓展 (opPlayerNoCheatExtra)

开启后,禁用部分指令以避免op玩家意外地作弊, 建议与 Carpet TIS Addition 的opPlayerNoCheat一同使用。

影响的指令列表: /difficulty, /kill, /time, /weather

(Carpet TIS Addition)影响的指令列表:/gamemode, /tp, /teleport, /give, /setblock, /summon

  • 类型: boolean
  • 默认值: false
  • 参考选项: false , true
  • 分类: AMS , FEATURE , SURVIVAL , COMMAND

NewRules

opPlayerNoCheatExtra

When enabled, Disable some command to prevent accidentally cheating, It is recommended to use it with opPlayerNoCheat from Carpet TIS Addition .

Affects command list: /difficulty, /kill, /time, /weather

(Carpet TIS Addition)Affects command list: /gamemode, /tp, /teleport, /give, /setblock, /summon

  • 类型: boolean
  • 默认值: false
  • 参考选项: false , true
  • 分类: AMS , FEATURE , SURVIVAL , COMMAND
Carpet-AMS-Addition - Carpet-AMS-Addition v2.8.3

Published by 1024-byteeeee 12 months ago

修复

  • 修复了 [创造模式潜影盒无掉落(creativeShulkerBoxDropsDisabled) 规则破坏潜影盒会触发两次音效的bug。

Fix

  • Fixed a bug in the creativeShulkerBoxDropsDisabled rule when player break Shulker Box triggers two instances of damaging sound effects.
Carpet-AMS-Addition - Carpet-AMS-Addition v2.8.2

Published by 1024-byteeeee 12 months ago

修复

  • 修复了在启动服务器时发出的警告。

Fix

  • Fixed warnings when starting the server.