Topic category: Help with modding
The title says all.
I know there is this possibilities (just look at lucky block mod), but where is the trick?
I tried to create a block with mcreator, then I've exported it and put in my minecraft mods folder. I've opened a new world and made a pillar with this new block, then I've opened MCedit (obviously it doesn't recognize the new block), selected the structure and exported. So I created a structure gen mod, imported my schematic file, but when I create a new world, the pillars are made of cobblestone and not of my new block.
I've opened the source of the schematic and in fact I found this:
world.setBlockState(new BlockPos(i+0, j+0, k+0), Block.getBlockById(4).getStateFromMeta(0), 3);
that ID (4) is for cobblestone... how can I edit this (or something else) to make this structure work?