Описание
# Carpet TCTC Addition
[](https://www.curseforge.com/minecraft/mc-mods/carpet-tctc-addition/files)
[](https://github.com/The-Cat-Town-Craft/Carpet-TCTC-Addition/blob/main/LICENSE)


[](https://app.codacy.com/gh/The-Cat-Town-Craft/Carpet-TCTC-Addition/dashboard)
[](https://github.com/The-Cat-Town-Craft/Carpet-TCTC-Addition/issues)
[](https://github.com/The-Cat-Town-Craft/Carpet-TCTC-Addition/pulls)
[](https://github.com/The-Cat-Town-Craft/Carpet-TCTC-Addition/actions/workflows/CI.yml)
[](https://github.com/The-Cat-Town-Craft/Carpet-TCTC-Addition/releases)
[](https://github.com/The-Cat-Town-Craft/Carpet-TCTC-Addition/releases)
[](https://modrinth.com/mod/carpet-tctc-addition)
[](https://www.curseforge.com/minecraft/mc-mods/carpet-tctc-addition)
[中文](https://github.com/The-Cat-Town-Craft/Carpet-TCTC-Addition/blob/dev/README_ZH_CN.md)
**Warning: we use our own SettingManager to manage the rules and you need to manually migrate the default configuration saved in carpet.conf.**
A [fabric-carpet](https://github.com/gnembon/fabric-carpet) extension mod. It offers some interesting features.
Operation command: `/carpet-tctc-addition`
## Dependencies
| Dependency | Type | Download |
|------------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Carpet | Required | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/carpet) | [GitHub](https://github.com/gnembon/fabric-carpet) |
| Fabric API | Required | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api) | [GitHub](https://github.com/FabricMC/fabric) | [Modrinth](https://modrinth.com/mod/fabric-api) |
| MagicLib | Required | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/magiclib) | [GitHub](https://github.com/Hendrix-Shen/MagicLib) | [Modrinth](https://modrinth.com/mod/magiclib) |
## Rule List
### blockIllegalUsername
Verify username using online mode rules.
- Type: `boolean`
- Default value: `false`
- Suggested options: `false`, `true`
- Categories: `MISC`, `PROTOCOL`
### commandFix
Enables /fix command to fix chunk data.
- Type: `string`
- Default value: `ops`
- Suggested options: `false`, `true`, `ops`, `0`, `1`, `2`, `3`, `4`
- Categories: `COMMAND`
### commandFreecam
Enables /freecam command to toggle your camera mode.
- Type: `string`
- Default value: `true`
- Suggested options: `false`, `true`, `ops`, `0`, `1`, `2`, `3`, `4`
- Categories: `COMMAND`
### commandGC
Enables /gc command to allow you to force gc with jvm.
- Type: `string`
- Default value: `ops`
- Suggested options: `false`, `true`, `ops`, `0`, `1`, `2`, `3`, `4`
- Categories: `COMMAND`
### commandHere
Enables /here command to allow you to share your location with other players.
- Type: `string`
- Default value: `true`
- Suggested options: `false`, `true`, `ops`, `0`, `1`, `2`, `3`, `4`
- Categories: `COMMAND`
### commandOperator
Enables /operator command to allow you to change the player's permission level.
- Type: `string`
- Default value: `ops`
- Suggested options: `false`, `true`, `ops`, `0`, `1`, `2`, `3`, `4`
- Categories: `COMMAND`
### cameraModeDisableSpectatePlayers
Disables players in /c from spectating other players.
- Type: `boolean`
- Default value: `false`
- Suggested options: `false`, `true`
- Categories: `COMMAND`, `FEATURE`
### disableIllegalChatCharacterCheck
Allows you to use characters such as subsections in the game.
- Type: `boolean`
- Default value: `false`
- Suggested options: `false`, `true`
- Categories: `CLIENT`, `EXPERIMENTAL`, `MISC`
### disableParticlesPackets
Disable particle packet sending to reduce bandwidth usage.
- Type: `boolean`
- Default value: `false`
- Suggested options: `false`, `true`
- Categories: `CLIENT`, `FEATURE`, `MISC`
### dispenserCollectExperience
Dispenser firing glass bottles at players will convert to experience bottles.
- Type: `boolean`
- Default value: `false`
- Suggested options: `false`, `true`
- Categories: `EXPERIMENTAL`, `FEATURE`
### enderPlatform
Is obsidian platform generated in the end.
all - Generate ender platform when all entities are transferred to the_end dimension.
none - Ender platform will not be generated anyway.
player - Ender platform is generated only when the player entity teleports to the_end dimension.
- Type: `enum`
- Default value: `player`
- Suggested options: `all`, `none`, `player`
- Categories: `FEATURE`, `WORLD-GENERATE`
*For Minecraft 1.16.5 and later branches, the default value is `all`*
### endGatewayChunkLoader
When the entity passes through the ender gateway, the target chunk will be loaded for 15 seconds like nether portal.
all - Give the target chunk a load ticket when all entities through the ender gateway.
except_player - Give the target chunk a load ticket when all entities except the player through the ender gateway.
item_only - Give the target chunk a load ticket when the player entities except the player through the ender gateway.
off - Vanilla action.
- Type: `enum`
- Default value: `off`
- Suggested options: `all`, `except_player`, `item_only`, `off`
- Categories: `FEATURE`
### freecamRestoreLocation
Return to the starting position when you have finished spectating.
- Type: `boolean`
- Default value: `true`
- Suggested options: `false`, `true`
- Categories: `COMMAND`, `MISC`
### hereGlowTime
Time highlighted when using here command shared coordinates.
- Type: `int`
- Default value: `15`
- Suggested options: `0`, `15`
- Categories: `COMMAND`, `MISC`
### illegalPistonActionFix
Fix headless pistons to destroy blocks.
- Type: `boolean`
- Default value: `false`
- Suggested options: `false`, `true`
- Categories: `FEATURE`
### opLevelBelowSelf
Operators can only grant the same or lower permissions to other players than themselves.
- Type: `boolean`
- Default value: `true`
- Suggested options: `false`, `true`
- Categories: `COMMAND`
### playerStats
Control of player and bot statistics.
bot - Only bots are allowed to gain stats.
both - Both bots and players are allowed to gain stats.
none - No one allowed to gain stats.
player - Only players are allowed to gain stats.
- Type: `enum`
- Default value: `both`
- Suggested options: `bot`, `both`, `none`, `player`
- Categories: `FEATURE`
### shulkerBoxDupeFix
Taking items from a shulker box while destroying it will result in item duplication.
- Type: `boolean`
- Default value: `false`
- Suggested options: `false`, `true`
- Categories: `BUGFIX`
### updateSuppressionCrashFix
Fix updates suppression causing server crashes.
- Type: `boolean`
- Default value: `false`
- Suggested options: `false`, `true`
- Categories: `BUGFIX`
### voidDevouringBehavior
The action that will occur when the player falls into the void.
instant_death - Dies immediately when entering the void.
teleport_to_spawn - Teleport to the player's spawn point when entering the void, or to the world spawn point if it does not exist.
vanilla - Vanilla behaviour.
- Type: `enum`
- Default value: `false`
- Suggested options: `instant_death`, `teleport_to_spawn`, `vanilla`
- Categories: `EXPERIMENTAL`, `FEATURE`
### voidTradeFix
Once the villager entity is unloaded, the trading interface will be closed.
- Type: `boolean`
- Default value: `false`
- Suggested options: `false`, `true`
- Categories: `BUGFIX`
### voxelMapWorldName
Send VoxelMap world information packets to client.
- Type: `string`
- Default value: `#none`
- Suggested options: `#none`, `creative`, `mirror`, `survival`
- Categories: `PROTOCOL`
### wetSpongeAbsorbLava
Wet sponges will be able to absorb lava.
- Type: `boolean`
- Default value: `false`
- Suggested options: `false`, `true`
- Categories: `EXPERIMENTAL`, `FEATURE`
### wetSpongeAbsorbLavaLimit
Maximum offset limit for wet sponge.
- Type: `int`
- Default value: `32`
- Suggested options: `32`, `64`
- Categories: `EXPERIMENTAL`, `FEATURE`
### wetSpongeAbsorbLavaRange
Maximum lava sucking for wet sponge.
- Type: `int`
- Default value: `3`
- Suggested options: `3`, `6`
- Categories: `EXPERIMENTAL`, `FEATURE`
### xaeroMapWorldName
Send XaeroMap world information packets to client.
- Type: `string`
- Default value: `#none`
- Suggested options: `#none`, `creative`, `mirror`, `survival`
- Categories: `PROTOCOL`
## Development
### Support
Current main development for Minecraft version: 1.19
And use `preprocess` to be compatible with all versions.
**Note: We only accept the following versions of issues, which are the last updates of each MC major version. Please note that this information is time-sensitive and any version of the issue not listed here will be closed**
- Minecraft 1.14.4
- Minecraft 1.15.2
- Minecraft 1.16.5
- Minecraft 1.17.1
- Minecraft 1.18.2
- Minecraft 1.19
### Mappings
We are using the **Mojang official** mappings to de-obfuscate Minecraft and insert patches.
### Document
The English doc and the Chinese doc are aligned line by line.
## License
This project is available under the LGPLv3 license. Feel free to learn from it and incorporate it in your own projects.