diff --git a/README.md b/README.md index 89256be..410eba1 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Extension Mod for [gnembon's fabric-carpet](https://github.com/gnembon/fabric-ca ## Lists of Categories - [`BUGFIX`](markdown/BUGFIX_Category.md) - [`CLIENT`](markdown/CLIENT_Category.md) +- [`COMMAND`](markdown/COMMAND_Category.md) - [`CRAFTING`](markdown/CRAFTING_Category.md) - [`CREATIVE`](markdown/CREATIVE_Category.md) - [`EXPERIMENTAL`](markdown/EXPERIMENTAL_Category.md) @@ -20,12 +21,13 @@ Extension Mod for [gnembon's fabric-carpet](https://github.com/gnembon/fabric-ca - [`SURVIVAL`](markdown/SURVIVAL_Category.md) ## Index -Count: 64 +Count: 67 - [anvilledBlueIce](#anvilledblueice) - [anvilledIce](#anvilledice) - [anvilledPackedIce](#anvilledpackedice) - [cactusFurnaceXp](#cactusfurnacexp) - [campSleeping](#campsleeping) +- [commandSlimeChunk](#commandslimechunk) - [concreteConvertOnCauldron](#concreteconvertoncauldron) - [craftableCobwebs](#craftablecobwebs) - [craftableHorseArmor](#craftablehorsearmor) @@ -56,6 +58,7 @@ Count: 64 - [kelpBlockHardness](#kelpblockhardness) - [lilyPadsOnCauldron](#lilypadsoncauldron) - [longerRepeaters](#longerrepeaters) +- [maxBannerLayers](#maxbannerlayers) - [moreBarkCrafting](#morebarkcrafting) - [moreFortressSpawningBlocks](#morefortressspawningblocks) - [newShulkerBehavior](#newshulkerbehavior) @@ -77,6 +80,7 @@ Count: 64 - [snowballWaterDrag](#snowballwaterdrag) - [stonecutterDamage](#stonecutterdamage) - [strictShulkerShells](#strictshulkershells) +- [tallPlantNoUpdate](#tallplantnoupdate) - [universalDyeing](#universaldyeing) - [unpackableIce](#unpackableice) - [unpackableNetherWart](#unpackablenetherwart) @@ -135,6 +139,14 @@ Allows players to sleep in a Bed without setting their spawn point by entering w - Required options: `true`, `false` - Categories: `EXPERIMENTAL`, `FEATURE`, `RUG`, `SURVIVAL` +### commandSlimeChunk +A command that shows if the current chunk is a slime chunk based on the set slimeChunkPercentage +Players do not need extra permissions to use this command +- Type: `boolean` +- Default value: `false` +- Required options: `true`, `false` +- Categories: `COMMAND`, `RUG` + ### concreteConvertOnCauldron Concrete powder converts to concrete blocks when on top of a filled cauldron - Type: `boolean` @@ -175,7 +187,7 @@ Expect a lag spike when changing the value - Categories: `CRAFTING`, `RUG`, `SURVIVAL` ### dragonDrops -Ender Dragon drops an Elytra when killed +Ender Dragon drops selected item(s) when killed - Type: `String` - Default value: `none` - Required options: `none`, `dragon_egg`, `elytra`, `both` @@ -195,7 +207,7 @@ Amount of XP dropped by later Dragons. The first Dragon always drops 12000 - Type: `int` - Default value: `500` - Suggested options: `500`, `1200`, `12000` -- Categories: `CLIENT`, `EXPERIMENTAL`, `RUG` +- Categories: `EXPERIMENTAL`, `RUG`, `SURVIVAL` - Additional notes: - You must choose a value from 0 to 12000 - [Idea from Neubulae](https://github.com/gnembon/carpet-extra/issues/171) @@ -380,12 +392,23 @@ Lily Pads can be placed on Cauldrons - Categories: `FEATURE`, `RUG` ### longerRepeaters -Repeaters on top of Redstone BLocks multiply their delay by set amount +Repeaters on top of Redstone Blocks multiply their delay by set amount - Type: `int` - Default value: `1` - Required options: `1`, `2`, `3`, `4` - Categories: `EXPERIMENTAL`, `FEATURE`, `RUG` +### maxBannerLayers +Maximum number of layers, that can be applied to a banner +This only works for clients with this mod installed and the Banner tooltips never show more than 6 layers +- Type: `int` +- Default value: `6` +- Suggested options: `3`, `6`, `10`, `12` +- Categories: `CLIENT`, `CRAFTING`, `EXPERIMENTAL`, `RUG`, `SURVIVAL` +- Additional notes: + - You must choose a value from 3 to 16 + - [Idea from SouthernPixel](https://github.com/gnembon/carpet-extra/issues/111) + ### moreBarkCrafting Crafting Logs to Wood gives 4 instead of 3 Expect a lag spike when changing the value @@ -396,7 +419,7 @@ Expect a lag spike when changing the value ### moreFortressSpawningBlocks What blocks Fortress mobs can spawn on inside the bigger Bounding Box -o +off: nether bricks only / more: (red) nether bricks, netherrack, soul sand/soil, packed/blue ice, gravel, magma blocks / all: all - Type: `String` - Default value: `off` - Required options: `off`, `more`, `all` @@ -566,6 +589,14 @@ Shulkers always drop a given amount of shulker shells when killed - You must choose a value from 0 to 4 - Idea from [VanillaTweaks](https://vanillatweaks.net/picker/datapacks/) +### tallPlantNoUpdate +Tall Plants do not update blocks around the top part if the bottom half got broken +Old Bug: MC-31038 +- Type: `boolean` +- Default value: `false` +- Required options: `true`, `false` +- Categories: `EXPERIMENTAL`, `RUG` + ### universalDyeing Allows to dye already dyed things and clean Glass, Glass Panes and Terracotta with a Water Bucket in the Crafting Table Expect a lag spike when changing the value diff --git a/markdown/CLIENT_Category.md b/markdown/CLIENT_Category.md index d248088..6af0361 100644 --- a/markdown/CLIENT_Category.md +++ b/markdown/CLIENT_Category.md @@ -3,7 +3,6 @@ For a list of all implemented Rules go [here](../README.md) ## Index Count: 11 -- [dragonXpDrop](#dragonxpdrop) - [edibleGoldIngots](#ediblegoldingots) - [edibleMagmaCream](#ediblemagmacream) - [edibleNetheriteScraps](#ediblenetheritescraps) @@ -12,21 +11,12 @@ Count: 11 - [enderPearlWaterDrag](#enderpearlwaterdrag) - [honeyCombStickiness](#honeycombstickiness) - [kelpBlockHardness](#kelpblockhardness) +- [maxBannerLayers](#maxbannerlayers) - [reachDistance](#reachdistance) - [snowballWaterDrag](#snowballwaterdrag) ## Rules in CLIENT Category -### dragonXpDrop -Amount of XP dropped by later Dragons. The first Dragon always drops 12000 -- Type: `int` -- Default value: `500` -- Suggested options: `500`, `1200`, `12000` -- Categories: `CLIENT`, `EXPERIMENTAL`, `RUG` -- Additional notes: - - You must choose a value from 0 to 12000 - - [Idea from Neubulae](https://github.com/gnembon/carpet-extra/issues/171) - ### edibleGoldIngots Butter is finally edible. Keep in mind 250g of pure butter are not that healthy Works server side only, but eating animation is only rendered if the mod is on the client too @@ -99,6 +89,17 @@ Any value other than 0 will behave like 0.5 for clients without this mod - Additional notes: - You must choose a value from 0 to 0.5 +### maxBannerLayers +Maximum number of layers, that can be applied to a banner +This only works for clients with this mod installed and the Banner tooltips never show more than 6 layers +- Type: `int` +- Default value: `6` +- Suggested options: `3`, `6`, `10`, `12` +- Categories: `CLIENT`, `CRAFTING`, `EXPERIMENTAL`, `RUG`, `SURVIVAL` +- Additional notes: + - You must choose a value from 3 to 16 + - [Idea from SouthernPixel](https://github.com/gnembon/carpet-extra/issues/111) + ### reachDistance Reach in which you can place and break blocks. Value will be 0.5 higher in creative Mod needed on server and client for this feature to work diff --git a/markdown/COMMAND_Category.md b/markdown/COMMAND_Category.md new file mode 100644 index 0000000..670efd5 --- /dev/null +++ b/markdown/COMMAND_Category.md @@ -0,0 +1,16 @@ +# List of Rules in the COMMAND Category + +For a list of all implemented Rules go [here](../README.md) +## Index +Count: 1 +- [commandSlimeChunk](#commandslimechunk) + +## Rules in COMMAND Category + +### commandSlimeChunk +A command that shows if the current chunk is a slime chunk based on the set slimeChunkPercentage +Players do not need extra permissions to use this command +- Type: `boolean` +- Default value: `false` +- Required options: `true`, `false` +- Categories: `COMMAND`, `RUG` diff --git a/markdown/CRAFTING_Category.md b/markdown/CRAFTING_Category.md index 6555472..9b32085 100644 --- a/markdown/CRAFTING_Category.md +++ b/markdown/CRAFTING_Category.md @@ -2,7 +2,7 @@ For a list of all implemented Rules go [here](../README.md) ## Index -Count: 21 +Count: 22 - [craftableCobwebs](#craftablecobwebs) - [craftableHorseArmor](#craftablehorsearmor) - [craftableNameTags](#craftablenametags) @@ -15,6 +15,7 @@ Count: 21 - [easyRepeaterCrafting](#easyrepeatercrafting) - [easyStickCrafting](#easystickcrafting) - [easyTrappedChestCrafting](#easytrappedchestcrafting) +- [maxBannerLayers](#maxbannerlayers) - [moreBarkCrafting](#morebarkcrafting) - [powderToGlassSmelting](#powdertoglasssmelting) - [shapelessCrafting](#shapelesscrafting) @@ -125,6 +126,17 @@ Expect a lag spike when changing the value - Required options: `true`, `false` - Categories: `CRAFTING`, `RUG`, `SURVIVAL` +### maxBannerLayers +Maximum number of layers, that can be applied to a banner +This only works for clients with this mod installed and the Banner tooltips never show more than 6 layers +- Type: `int` +- Default value: `6` +- Suggested options: `3`, `6`, `10`, `12` +- Categories: `CLIENT`, `CRAFTING`, `EXPERIMENTAL`, `RUG`, `SURVIVAL` +- Additional notes: + - You must choose a value from 3 to 16 + - [Idea from SouthernPixel](https://github.com/gnembon/carpet-extra/issues/111) + ### moreBarkCrafting Crafting Logs to Wood gives 4 instead of 3 Expect a lag spike when changing the value diff --git a/markdown/EXPERIMENTAL_Category.md b/markdown/EXPERIMENTAL_Category.md index 4060b68..4f26d50 100644 --- a/markdown/EXPERIMENTAL_Category.md +++ b/markdown/EXPERIMENTAL_Category.md @@ -2,7 +2,7 @@ For a list of all implemented Rules go [here](../README.md) ## Index -Count: 28 +Count: 30 - [anvilledBlueIce](#anvilledblueice) - [anvilledIce](#anvilledice) - [anvilledPackedIce](#anvilledpackedice) @@ -21,6 +21,7 @@ Count: 28 - [infinityNeedsArrow](#infinityneedsarrow) - [kelpBlockHardness](#kelpblockhardness) - [longerRepeaters](#longerrepeaters) +- [maxBannerLayers](#maxbannerlayers) - [moreFortressSpawningBlocks](#morefortressspawningblocks) - [newShulkerBehavior](#newshulkerbehavior) - [peacefulHunger](#peacefulhunger) @@ -30,6 +31,7 @@ Count: 28 - [silkTouchSpawners](#silktouchspawners) - [slimeChunkPercentage](#slimechunkpercentage) - [snowballWaterDrag](#snowballwaterdrag) +- [tallPlantNoUpdate](#tallplantnoupdate) - [zeroTickPlants](#zerotickplants) ## Rules in EXPERIMENTAL Category @@ -83,7 +85,7 @@ Amount of XP dropped by later Dragons. The first Dragon always drops 12000 - Type: `int` - Default value: `500` - Suggested options: `500`, `1200`, `12000` -- Categories: `CLIENT`, `EXPERIMENTAL`, `RUG` +- Categories: `EXPERIMENTAL`, `RUG`, `SURVIVAL` - Additional notes: - You must choose a value from 0 to 12000 - [Idea from Neubulae](https://github.com/gnembon/carpet-extra/issues/171) @@ -186,15 +188,26 @@ Any value other than 0 will behave like 0.5 for clients without this mod - You must choose a value from 0 to 0.5 ### longerRepeaters -Repeaters on top of Redstone BLocks multiply their delay by set amount +Repeaters on top of Redstone Blocks multiply their delay by set amount - Type: `int` - Default value: `1` - Required options: `1`, `2`, `3`, `4` - Categories: `EXPERIMENTAL`, `FEATURE`, `RUG` +### maxBannerLayers +Maximum number of layers, that can be applied to a banner +This only works for clients with this mod installed and the Banner tooltips never show more than 6 layers +- Type: `int` +- Default value: `6` +- Suggested options: `3`, `6`, `10`, `12` +- Categories: `CLIENT`, `CRAFTING`, `EXPERIMENTAL`, `RUG`, `SURVIVAL` +- Additional notes: + - You must choose a value from 3 to 16 + - [Idea from SouthernPixel](https://github.com/gnembon/carpet-extra/issues/111) + ### moreFortressSpawningBlocks What blocks Fortress mobs can spawn on inside the bigger Bounding Box -o +off: nether bricks only / more: (red) nether bricks, netherrack, soul sand/soil, packed/blue ice, gravel, magma blocks / all: all - Type: `String` - Default value: `off` - Required options: `off`, `more`, `all` @@ -270,6 +283,14 @@ Thrown Snowball will stutter on client when mod is only on server - Additional notes: - You must choose a value from 0.5 to 0.99 +### tallPlantNoUpdate +Tall Plants do not update blocks around the top part if the bottom half got broken +Old Bug: MC-31038 +- Type: `boolean` +- Default value: `false` +- Required options: `true`, `false` +- Categories: `EXPERIMENTAL`, `RUG` + ### zeroTickPlants Brings back the ability to force grow certain plants using 0-ticks - Type: `boolean` diff --git a/markdown/FEATURE_Category.md b/markdown/FEATURE_Category.md index 725edcf..73f1b5d 100644 --- a/markdown/FEATURE_Category.md +++ b/markdown/FEATURE_Category.md @@ -77,7 +77,7 @@ Concrete powder converts to concrete blocks when on top of a filled cauldron - Categories: `FEATURE`, `RUG` ### dragonDrops -Ender Dragon drops an Elytra when killed +Ender Dragon drops selected item(s) when killed - Type: `String` - Default value: `none` - Required options: `none`, `dragon_egg`, `elytra`, `both` @@ -169,7 +169,7 @@ Lily Pads can be placed on Cauldrons - Categories: `FEATURE`, `RUG` ### longerRepeaters -Repeaters on top of Redstone BLocks multiply their delay by set amount +Repeaters on top of Redstone Blocks multiply their delay by set amount - Type: `int` - Default value: `1` - Required options: `1`, `2`, `3`, `4` @@ -177,7 +177,7 @@ Repeaters on top of Redstone BLocks multiply their delay by set amount ### moreFortressSpawningBlocks What blocks Fortress mobs can spawn on inside the bigger Bounding Box -o +off: nether bricks only / more: (red) nether bricks, netherrack, soul sand/soil, packed/blue ice, gravel, magma blocks / all: all - Type: `String` - Default value: `off` - Required options: `off`, `more`, `all` diff --git a/markdown/SURVIVAL_Category.md b/markdown/SURVIVAL_Category.md index 642ff4c..daf498b 100644 --- a/markdown/SURVIVAL_Category.md +++ b/markdown/SURVIVAL_Category.md @@ -2,7 +2,7 @@ For a list of all implemented Rules go [here](../README.md) ## Index -Count: 46 +Count: 48 - [cactusFurnaceXp](#cactusfurnacexp) - [campSleeping](#campsleeping) - [craftableCobwebs](#craftablecobwebs) @@ -10,6 +10,7 @@ Count: 46 - [craftableNameTags](#craftablenametags) - [craftableNotchApple](#craftablenotchapple) - [dragonDrops](#dragondrops) +- [dragonXpDrop](#dragonxpdrop) - [easyBlueIceCrafting](#easyblueicecrafting) - [easyBoneBlockCrafting](#easyboneblockcrafting) - [easyChestCrafting](#easychestcrafting) @@ -27,6 +28,7 @@ Count: 46 - [foodInstantHeal](#foodinstantheal) - [infinityNeedsArrow](#infinityneedsarrow) - [kelpBlockHardness](#kelpblockhardness) +- [maxBannerLayers](#maxbannerlayers) - [moreBarkCrafting](#morebarkcrafting) - [noCreeperGriefing](#nocreepergriefing) - [noEndermanGriefing](#noendermangriefing) @@ -102,7 +104,7 @@ Expect a lag spike when changing the value - Categories: `CRAFTING`, `RUG`, `SURVIVAL` ### dragonDrops -Ender Dragon drops an Elytra when killed +Ender Dragon drops selected item(s) when killed - Type: `String` - Default value: `none` - Required options: `none`, `dragon_egg`, `elytra`, `both` @@ -110,6 +112,16 @@ Ender Dragon drops an Elytra when killed - Additional notes: - Idea from [VanillaTweaks](https://vanillatweaks.net/picker/datapacks/) +### dragonXpDrop +Amount of XP dropped by later Dragons. The first Dragon always drops 12000 +- Type: `int` +- Default value: `500` +- Suggested options: `500`, `1200`, `12000` +- Categories: `EXPERIMENTAL`, `RUG`, `SURVIVAL` +- Additional notes: + - You must choose a value from 0 to 12000 + - [Idea from Neubulae](https://github.com/gnembon/carpet-extra/issues/171) + ### easyBlueIceCrafting Blue Ice can be crafted from Ice and Blue Dye Expect a lag spike when changing the value @@ -252,6 +264,17 @@ Any value other than 0 will behave like 0.5 for clients without this mod - Additional notes: - You must choose a value from 0 to 0.5 +### maxBannerLayers +Maximum number of layers, that can be applied to a banner +This only works for clients with this mod installed and the Banner tooltips never show more than 6 layers +- Type: `int` +- Default value: `6` +- Suggested options: `3`, `6`, `10`, `12` +- Categories: `CLIENT`, `CRAFTING`, `EXPERIMENTAL`, `RUG`, `SURVIVAL` +- Additional notes: + - You must choose a value from 3 to 16 + - [Idea from SouthernPixel](https://github.com/gnembon/carpet-extra/issues/111) + ### moreBarkCrafting Crafting Logs to Wood gives 4 instead of 3 Expect a lag spike when changing the value diff --git a/src/main/java/com/rubixdev/rug/RugSettings.java b/src/main/java/com/rubixdev/rug/RugSettings.java index e0de908..52692ca 100644 --- a/src/main/java/com/rubixdev/rug/RugSettings.java +++ b/src/main/java/com/rubixdev/rug/RugSettings.java @@ -942,12 +942,12 @@ public String description() { } @Rule( - desc = "Maximum number of layers, that can be applied to a banner", - extra = "This only works for clients with this mod installed and the Banner tooltips never show more than 6 layers", - options = {"3", "6", "10", "12"}, - strict = false, - validate = validatorMaxBannerLayers.class, - category = {EXPERIMENTAL, SURVIVAL, CLIENT, CRAFTING, RUG} + desc = "Maximum number of layers, that can be applied to a banner", + extra = "This only works for clients with this mod installed and the Banner tooltips never show more than 6 layers", + options = {"3", "6", "10", "12"}, + strict = false, + validate = validatorMaxBannerLayers.class, + category = {EXPERIMENTAL, SURVIVAL, CLIENT, CRAFTING, RUG} ) public static int maxBannerLayers = 6; // maxBannerLayersAdditional: [Idea from SouthernPixel](https://github.com/gnembon/carpet-extra/issues/111)