Description
USING THE VERSIONS PRIOR TO THE NEOFORGE AND 1.21.1 PORT IS NOT RECOMMENDED AS THEY ARE UNMAINTAINED AND A BUGGY MESS. THEY ARE ONLY KEPT UP FOR MODPACK COMPAT.
Mod_Disable
A simple Minecraft Mod to disable recipes and items from other mods.
Commands
- /disable_mod - main command to interface with the mod
- /disable_mod enable/disable item - enables/disables a specific item
- /disable_mod enable/disable namespace - Disables all items within a namespace (for example, all items starting with minecraft: )
- /disable_mod config DefaultDisabledItemsListFromPlayerUUID - generates a default disabled items list for a modpack, allowing large servers to not lag while searching for namespaces for new players. First, disable all namespaces you want to be disabled for new players for your player, then provide your UUID to this command.
- /disable_mod init - Copies the default disabled items list to the player that initiated the command's UUID. Use this instead of manually disabling every mod namespace.
- /disable_mod reinit - Reinits a corrupted disabled items list by doing the same as init. Note: This will delete the selected player's mod unlock progress!
- /disable_mod disable/enable all - disables/enables all items currently registered in the item registry.
- /disable_mod disable/enable item hand - Enables/disables the item being held.
- /disable_mod disable/enable namespace hand - Enables/disables the namespace of the item being held.
KubeJS Integration
The KubeJS integration is facilitated trough the ModDisable class.
The ModDisable class has the following functions:
.enableItem(string PlayerUUID, string ItemToDisable)
.disableItem(string PlayerUUID, string ItemToDisable)
.enableNamespace(string PlayerUUID, string NamespaceToEnable)
.disableNamespace(string PlayerUUID, string NamespaceToDisable)
.enableAll(string PlayerUUID)
.disableAll(string PlayerUUID)
Important! For the disabled items list to be created, the /disable_mod init command must be run by every new player trough chat, quest or other means.
