My glass cutter doesn't work

Started by aidanete on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 11:16, 14. Oct 2021
Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My glass cutter doesn't work

My glass cutter doesn't work

've recently started to add new additions for my Additional Stuff mod, however, one of them, specifically the Glass Cutters are working strange.

The procedure in the image attached shows how it works, it uses a global procedure trigger because it needs to cancel a trigger. This item should allow the player to break any glass block or pane and get it dropped. However, it only works with the colorless ones (pane and block).

Things I've checked before posting this issue:

  • Any of the glass blocks/panes colored/colorless have two oreDictionary tags, that means that it's not bugged because of having two.
  • The colored and colorless have a common oreDictionary tag (blockGlass/paneGlass), so it's really strange.

Note, the item is a tool with shear type. (It seems to break even stone fast and I don't know why)

I need support, please :D

Glass Cutters

(Copied from the issue: https://mcreator.net/tracker/issue/54201)

Last seen on 11:16, 14. Oct 2021
Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Any?
Fri, 10/25/2019 - 17:27

Any?

Last seen on 19:55, 7. Jan 2021
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try replacing the is block…
Fri, 10/25/2019 - 17:57

Try replacing the is block at x y z tagged in ore dictionary as parts with if is block at x y z blocks.glass or blocks.stained_glass or blocks.glass_pane, or blocks.stained_glass_pane. See if that helps. It won't be compatible with mods that have those tags in, though.
It could also be the global trigger that is causing the problem.

Last seen on 11:16, 14. Oct 2021
Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I will try that. The global…
Sat, 10/26/2019 - 11:29

I will try that. The global trigger is actually necessary because it's the only way I can cancel the breaking of the glass.

Tyvm

Last seen on 14:52, 1. Oct 2020
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If the block is being placed…
Sat, 10/26/2019 - 11:44

If the block is being placed where the glass was, you don't need to cancel the trigger. The block will replace the glass.

Last seen on 11:16, 14. Oct 2021
Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, now it works but all…
Sat, 10/26/2019 - 11:58

Ok, now it works but all colored glass blocks and panes drop their white versions.