My glass cutter doesn't work

Started by aidanete on Wed, 10/23/2019 - 08:53

Topic category: Bugs and solutions

Last seen on 19:46, 2. May 2020
Joined Dec 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
My glass cutter doesn't work
Wed, 10/23/2019 - 08:53

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 19:46, 2. May 2020
Joined Dec 2013
User points:

User statistics:

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

Any?

Last seen on 09:17, 20. Feb 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 19:46, 2. May 2020
Joined Dec 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 17:22, 5. Jun 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 19:46, 2. May 2020
Joined Dec 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.