Click Opener Mod

Click Opener Mod

Mod

Fabric Mod that opens inventory screens when their items are clicked

Server Utility

3,302 downloads
31 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter versions...
Filter channels...

Fixed

  • Compat with shulker mods (specifically Reinforced Shulkers)

Featues better default compatibility: permanent inventories (like shulker boxes) should update their itemstack nbt when contents change, semi-permanent inventories (like chests) should drop contents on close, and stats, sounds, etc. should work.

Added

  • ability to use items from inventory (like fireworks)
    • can be stacked
  • cursor stack is used on block if default block behavior fails
    • axes can strip logs, hoes can till dirt, etc.
  • NONE clickType can now be used to disable the mod (by default or per player)

Changed

  • items are tested with the other hand if the first fails
  • block items must be a single itemstack to use
  • DEFAULT OPENER
    • fake clicks on a block (blockstate.onUse)
    • when the blocks state changes, the block entity is modified, or the screen is closed, the itemstack is replaced with the result of pick block
    • blocks are fake broken on close to drop non-permanent stacks
  • commands are updated
  • config allows items besides block items

Removed

  • explicit support removed for most mods (as default now works for them)

3.0.3+1.20.1

by hoid2 on Dec 5, 2023
Download

Add

  • Compat for Carpet AMS Addition largeShulker

3.0.2+1.20.1

by hoid2 on Oct 14, 2023
Download

Fix

  • Player configs not reloading with /clickopener reload

Add

  • defaultClickType config option

3.0.1+1.20.1

by hoid2 on Oct 11, 2023
Download

Fixes

  • added hand and hit result to default screen opener
    • solved problem with some blocks
  • now checks inventory size when creating custom screen opener (only affects ender chests)

Added

  • compat with supplementaries and supplementaries squared sacks

Config Changes

  • now uses json
  • always a whitelist to prevent errors using default screen opener
  • can use block tags, item tags, and/or item ids
  • blacklist to remove items that are added by a tag
  • click type was moved to per player configs accessed by commands
  • Old configs using a whitelist (def=false) should automatically transfer. Old configs using a blacklist (def=true) will log an error an need to be manually updated.

Default screen opener

  • a default screen opener is used for blocks without explicit compat
  • the default acts like the block was used; this may have unintended consequences for some blocks
  • default uses are logged to debug
  • failures to open a block are logged to debug
  • most vanilla compat now uses the default which means:
    • block use stats should now apply
    • piglin angering should now apply
  • If the default doesn't work you can request for explicit mod support

Misc

  • Commands changed to match updated config
  • AdditionZ support

2.0.5-fix+1.20

by hoid2 on Sep 25, 2023
Download

Fix for version 2.0.5

2.1.0+1.20.1

by hoid2 on Jun 15, 2023
Download
  • Fix #8: Support different sized enderchests
  • Change registry loading (if anyone actually uses the api)

2.0.6+1.20.1

by hoid2 on Jun 14, 2023
Download

Stop stacked shulker boxes from opening.

2.0.5+1.20.1

by hoid2 on Jun 14, 2023
Download

Update to Minecraft 1.20.1

2.0.5+1.20

by hoid2 on Jun 14, 2023
Download

Update to 1.20

2.0.5+1.19.4

by hoid2 on May 22, 2023
Download
  • Fix default config not generating correctly the first time
  • Fix #6: Shulker box enchantments not preserved after opening with ClickOpener

2.0.4+1.19.4

by hoid2 on May 9, 2023
Download
  • Updated to Minecraft 1.19.4
  • Minor internal changes

2.0.3+1.19.3

by hoid2 on Mar 9, 2023
Download

Fix #5 - Blocks not being read from config file.

Update to Minecraft 1.19.3

Fixes duplication issues #4

  • Players will not be able to move items that are open
  • Hoppers moving items will cause the item's screen to close for players

Major changes to config

  • clickType added
  • default added
  • change to identifiers for items

Added commands

  • can change config

Added compatability for ReinforcedShulkers

Fixes recipe book not working when crafting table is opened from inventory

Update to Minecraft 1.19.2

Fixes recipe book not working when crafting table is opened from inventory

Backports 1.1.1 to work for 1.18.2


Project members

hoid2

Owner

Details

Licensed MIT
Published 3 years ago
Updated 9 months ago