Have you wanted to access minecraft commands easily?
Suppose you wanted a OP Netherite sword right now without using /enchant command over and over... now with this mod you can do /enchantsword while holding any sword!
Current Commands Implemented:
Repair
/repair [target]- Repair a tool in your hand such as a pickaxe that is nearly broken, or a target player's held item/repairinventory [target]- Repairs everything that is damaged in your inventory, or a target player's inventory/repairall [repairInventory]- Repairs a damaged tool in every player's hands, use true for all players inventory. Default: false.
Enchant
/enchantsword <sharpness> [sweepingEdge] [mending] [unbreaking] [fireAspect] [knockback] [looting]- Enchants any sword you are holding with custom enchantment levels/enchantpickaxe <efficiency> [fortune] [mending] [unbreaking] [silkTouch]- Enchants any pickaxe you are holding with custom enchantment levels/enchantaxe <efficiency> [fortune] [silkTouch] [sharpness] [mending] [unbreaking]- Enchants any axe you are holding with custom enchantment levels/enchantshovel <efficiency> [fortune] [silkTouch] [mending] [unbreaking]- Enchants any shovel you are holding with custom enchantment levels/enchanthoe <efficiency> [fortune] [silkTouch] [mending] [unbreaking]- Enchants any hoe you are holding with custom enchantment levels/enchantbow <power> [punch] [flame] [infinity] [mending] [unbreaking]- Enchants any bow you are holding with custom enchantment levels/enchantcrossbow <multishot> [piercing] [quickCharge] [mending] [unbreaking]- Enchants any crossbow you are holding with custom enchantment levels/enchantmace <density> [breach] [windBurst] [smite] [baneOfArthropods] [fireAspect] [mending] [unbreaking]- Enchants any mace you are holding with custom enchantment levels/enchantspear <sharpness> [smite] [baneOfArthropods] [knockback] [fireAspect] [looting] [lunge] [mending] [unbreaking]- Enchants any spear you are holding with custom enchantment levels/enchanttrident <loyalty> [impaling] [riptide] [channeling] [mending] [unbreaking]- Enchants any trident you are holding with custom enchantment levels/enchantfishingrod <luckOfTheSea> [lure] [mending] [unbreaking]- Enchants any fishing rod you are holding with custom enchantment levels/knockback [amount] [target]- Put knockback on anything! can be 100 or whatever. Default level: 10. Optionally target a player's held item./knockbackstick [amount] [target]- Similar to the command above, give yourself or a target player a stick with knockback. Default level: 10.
Player
/heal <players> [alsoFeed true/false]- Heal specified players to max health! Also feeds them if true/feed [players]- Feeds specified players, or yourself if none specified!/killall [shouldAlsoKillPlayers true/false]- This explains itself
Time
/day- Basically /time set 1000/noon- Basically /time set 6000/night- Basically /time set 13000/midnight- Basically /time set 18000
Explosive
/toggleExplosiveProjectiles [value]- Toggles explosive projectiles on/off, or set explicitly with true/false. All projectiles (e.g. snowball, arrow) explode on collision./setExplosionPower [power]- Sets the explosion power for explosive projectiles, or shows the current value if no power specified. Default is 2.5./explode <x y z> <power> [createFire true/false]- Explodes at a set position with specified explosion power and creates fire on explosion!
World
/modifyTreeHeight [height]- Changes how tall newly generated trees can be based on height, or shows the current height if none specified/resetTreeHeight- Resets the tree height modifier back to default
Gamemode
/survival [players]- Sets the gamemode to survival of specified players, or yourself if none specified!/creative [players]- Same as above/adventure [players]- Same as above/spectator [players]- Same as above
Note
Some or most commands ran through a command block might probably not work, so I recommend running it normally or via /execute. I didn't test it myself of course.
Bugs?
To be honest, I don't debug much since I originally made this when I was bored, so expect some bugs that can occur.
If you do find any, please report them on my GitHub repository.
Dependencies
Fabric
- Fabric API
NeoForge
- None
This Is Open Source.
I probably will port this to future versions of minecraft available, but definitely no plans for more backporting. If you want to backport to older versions then please fork this repository.
How to Install Easy Commands (Mod)
Easy Commands by Fesuoy1 is verified for Fabric, Neoforge, Quilt across Minecraft versions 1.20.2, 1.20.3, 1.20.4, 26.2, 26.3 (latest release: 2.4.1-26.3+neoforge, file size: 123 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.2, 1.20.3, 1.20.4, 26.2, 26.3) and platform (Fabric, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Neoforge, Quilt.
- Move the downloaded Easy Commands file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Ported to 26.3
### If you find bugs/crashes, please report them by opening an issue on my github repository
- Ported to 26.3
### If you find bugs/crashes, please report them by opening an issue on my github repository
- Added gamemode alias commands
/creative [players]/survival [players]/adventure [players]/spectator [players]
### If you find bugs/crashes, please report them by opening an issue on my github repository
- Added gamemode alias commands
/creative [players]/survival [players]/adventure [players]/spectator [players]
### If you find bugs/crashes, please report them by opening an issue on my github repository
There should be no functional differences between the Fabric and NeoForge versions.
If you encounter any issues (specific to NeoForge), please report them by opening an issue on my github repository.
- Added new tool/weapon enchant commands:
/enchantaxe <efficiency> [fortune] [silkTouch] [sharpness] [mending] [unbreaking]/enchantshovel <efficiency> [fortune] [silkTouch] [mending] [unbreaking]/enchanthoe <efficiency> [fortune] [silkTouch] [mending] [unbreaking]/enchantbow <power> [punch] [flame] [infinity] [mending] [unbreaking]/enchantcrossbow <multishot> [piercing] [quickCharge] [mending] [unbreaking]/enchantmace <density> [breach] [windBurst] [smite] [baneOfArthropods] [fireAspect] [mending] [unbreaking]/enchantspear <sharpness> [smite] [baneOfArthropods] [knockback] [fireAspect] [looting] [lunge] [mending] [unbreaking]/enchanttrident <loyalty> [impaling] [riptide] [channeling] [mending] [unbreaking]/enchantfishingrod <luckOfTheSea> [lure] [mending] [unbreaking]
### Internal/developer changes:
- Used
Map.of()instead ofHashMapinEnchantSwordCommandandEnchantPickaxeCommand - Major**: Added automatic game tests when building the mod
- Note: For making huge changes or adding new commands, You are still recommended to test them in-game manually just to be safe*
- Usual code cleanup, etc.
### If you find bugs/crashes, please report them by opening an issue on my github repository
- Made more commands' parameters optional
/repairall [repairInventory](Default: false)/feed [players](Feeds yourself if no players specified)/knockback [amount of levels] [target](Default level: 10)/knockbackstick [amount of levels] [target](Default level: 10)/setExplosionPower [power](Shows current value if no power given)/modifyTreeHeight [height](Shows current height if none specified)- Added optional
targetplayer argument to: /repair [target]/repairinventory [target]/knockback [level] [target]/knockbackstick [level] [target]/toggleExplosiveProjectilescan now be set explicitly with[true/false]instead of just toggling
### If you find bugs/crashes, please report them by opening an issue on my github repository
- Added update checker for mod menu
### If you find bugs/crashes, please report them at my github repository
- Added
/enchantpickaxecommand: /enchantpickaxe <efficiency> [fortune] [mending] [unbreaking] [silkTouch]- Both
/enchantswordand/enchantpickaxenow work with any sword/pickaxe, including modded ones
### Internal/developer changes
- Cleaned up unused client initializations
- Removed empty client-side entrypoint and unused client mixins config
- Gamerules are now registered directly in the mod initializer instead of a static initializer
- Code cleanup, etc.
### If you find bugs/crashes, please report them at my github repository
### Changes:
- Made more commands' parameters optional (parameters surrounded by [square brackets] indicate optional)
- /heal <players> [alsoFeed]
- /explode <position x y z> <explosionPower> [createFire]
- /enchantsword [sharpness] [sweepingEdge] [mending] [unbreaking] [fireAspect] [knockback] [looting]
- Added back /modifyTreeHeight (which internally just sets the gamerule)
- Added /resetTreeHeight (Resets the tree height modifier back to default)
- Added /toggleExplosiveProjectiles (Toggles explosive projectiles on/off)
- Fixed certain sounds not playing
- Maybe other stuff I forgot
Internal/developer changes
- Made the codebase more cleaner and organized
- Other more stuff
### If you find bugs/crashes, please report them at my github repository
- Replaced
- /modifyTreeHeight
- /enableExplosiveProjectiles
- with their gamerules for easier access (and wont reset back to their default values when rejoining the world)
- Other stuff!
Report bugs in [the issue tracker](https://github.com/Fesuoy1/Easy-Commands-1.20.X/issues) if any.
- ### Support for older versions (and quilt)
Report bugs in [the issue tracker](https://github.com/Fesuoy1/Easy-Commands-1.20.X/issues) if any.
- Update Fabric API to 0.95.1+1.20.4
- Added Smoke particles for projectiles when explosive projectiles are enabled with /enableExplosiveProjectiles
Report bugs in [the issue tracker](https://github.com/Fesuoy1/Easy-Commands-1.20.X/issues) if any.
- Added new commands. You can find them in the description of this project below /midnight.
- Other stuff implemented/fixed but i forgot
Report bugs in [the issue tracker](https://github.com/Fesuoy1/Easy-Commands-1.20.X/issues) if any.