How to make Lever?

Started by MustafaDemirel01 on Tue, 08/20/2019 - 18:44

Topic category: Help with modding (Java Edition)

Last seen on 18:43, 20. Aug 2019
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make Lever?
Tue, 08/20/2019 - 18:44

How to make Lever procedure?

Last seen on 15:56, 8. Nov 2020
Joined Jan 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Trigger : on block right…
Sat, 08/24/2019 - 20:16

Trigger : on block right-clicked

create a variable of type "LOGIC" and call it "active" (or whatever you want, it's just for the example)

  if [get active] = false, do
          | set active to true
          | set redstone power logic state to true
     else do
          | set active to false
          |set redstone power logic state to false


Something like that, but I'm not sure as I never tried to do that kind of procedure.