DNA Extractor GUI

Started by phillipw1954 on

Topic category: Help with modding (Java Edition)

Last seen on 03:07, 26. Jan 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
DNA Extractor GUI

I'm attempting to make a DNA Extractor for my mod and I require it to have a single input slot where a player will place a fossil item. From there, the fossil item will be changed into one of many DNA types which will go in an output slot. Does anyone have any idea of how a procedure for this may look like?

Last seen on 10:23, 10. Aug 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
First you have to bound theā€¦
Tue, 03/15/2022 - 07:50

First you have to bound the block to gui.

then do the make sure youre code is like this:

 

The first you have to take out the block from logic and take the block which we have to input 2 variables and has 2 small symbols at the side. Then get the "get copy of item from slot ...." and input it to the first empty variable in the block data section. Then you take another block from the minecraft component section that has the same 2 symbols as before Then you place it after the equals sign. This will check if you have that particular block in slot 0. Then get the "set 1 .... " block from the slot and gui procedures. Then change the default slot 0 into slot 1. So if slot 0 has a particular block, it will give out another block