-
Help with Multiblocks
This is so frustrating. I have been trying to figure this out for months.
-
Help with Multiblocks
I am not working on 1.7.10 I am on 1.8 that code is from a old failed project i have. what code do you need to help I am not new to modding but I may have tried to learn to many programming languages at one time I am also 13 and want to be a software engineer. If there any way you can help Thanks
-
Help with Multiblocks
Would this work for the forming of the multiblock. public void onNeighborBlockChange(World world, int x, int y, int z , Block neighborBlock){ updateMutiBlockStructure(world, x, y, z); } public void onBlockAdded(World world, int x, int y, int z){ updateMutiBlockStructure(world, x, y, z); } public void updateMutiBlockStructure(World world, int x, int y, int z){ isMutiBlockStructure(world, x, y, z); } public boolean isMutiBlockStructure(World world, int x1, int y1, int z1){ boolean mStructure = false; boolean currentCheckStructure = true; for(int x2 = 0; x2 < 3; x2++){ for(int z2 = 0; z2 < 3; z2++){ if(!mStructure){ currentCheckStructure = true; for(int x3 = 0; x3 < 3; x3++){ for(int y3 = 0; y3 < 1; y3++){ for(int z3 = 0; z3 < 3; z3++){ if(currentCheckStructure && !world.getBlock(x1+x2-x3, y1+y3, z1+z2-z3).equals(ModBlocks.blockLaunchPad)){ currentCheckStructure = false; } } } } if(currentCheckStructure){ for(int x3 = 0; x3 < 3; x3++){ for(int y3 = 0; y3 < 1; y3++){ for(int z3 = 0; z3 < 3; z3++){ world.setBlockMetadataWithNotify(x1+x2-x3, y1+y3, z1+z2-z3, x3*3+z3+1, 2); } } } } } mStructure = currentCheckStructure; } } if(mStructure) return true; if(world.getBlockMetadata(x1, y1, z1) > 0) world.setBlockMetadataWithNotify(x1, y1, z1, 0, 3); return false; }
-
Help with Multiblocks
Yes but how do I do that I have tried many different ways but they keep failing.
-
Help with Multiblocks
Thanks but how do i get it to share inventory with a gui.
-
Help with Multiblocks
Hello I am trying to make a multi block for my mod. The multi block I am trying to make changes model when formed it also has a gui that stores the data to a master. If this is at all possible please help I have been working on this for a month and i have deleted my project multiple times i just restarted and I am getting frustrated. Thanks
IPS spam blocked by CleanTalk.