1

Code to place blocks with metadata with Minecraft 1.8 | Can

MaggiCraft's Avatar MaggiCraft1/2/15 9:07 am
1 emeralds 645 1
1/2/2015 9:22 am
thetypinglizard's Avatar thetypinglizard
Hi,

I'm updating my Instant Structures Mod to Minecraft 1.8. But I do not know how the code with which one applies a block with metadata is.

The old one was "world.setBlockMetadataWithNotify(x, y, z, 3, 0);

I tried "world.setBlockState(tmpPos, Blocks.planks.getDefaultState(), 3);" but it didn't work.
Posted by MaggiCraft's Avatar
MaggiCraft
Level 92 : Overlord Programmer
973

Create an account or sign in to comment.

1

1
01/02/2015 9:22 am
Level 36 : Artisan Engineer
thetypinglizard
thetypinglizard's Avatar
I used to know, so much about forge modding (is this forge?), but I got frustrated because I couldn't get it to work.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome