Started by
phillipw1954
on
Topic category: Help with Minecraft modding (Java Edition)
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?
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