Topic category: Help with Minecraft modding (Java Edition)
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:
if(place){
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?
So you need McEdit, its a program used to copy or make schematics from your minecraft world. You need to find you mcreator file. And then continue into the world saves folder. From there I'm fairly certain you can open your world through McEdit.
-With Regards SpidroTechnology™
@#1 I'm quite sure you haven't read the post...
I'm already using McEdit, the problem is that when I create my schematic with custom block and import in MCreator to make a structure, it always generate cobblestone instead of my custum block
Find the I'd for your custom block then replace 4 with it
*id
@#2 How can I find it? In the source code of the block, there's nothing like an ID for it
LOL, I tried at last to see the block ID by pressing F3 + H and replace it...
It really worked... Hours spent ro find some codes and decompiling class files to copy other mods... and the solution was this
NICE
hey how you check the schematics source??