This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Quote from Alexiy_Ov Gotta set metadata, too.
EntityItemFrame frame = new EntityItemFrame(w, x, y, z, direction); frame.setDisplayedItem(new ItemStack(Block.obsidian)); w.spawnEntityInWorld(frame);
Quote from Toffie_of_Truth EntityItemFrame frame = new EntityItemFrame(w, x, y, z, direction); frame.setDisplayedItem(new ItemStack(Block.obsidian)); w.spawnEntityInWorld(frame); Where x,y,z are integers, w is a World object, and direction is an integer between 0 and 3, inclusively.
Can someone tell me how to do it with an Item Frame?
I am stuck! please help!
?
It doesn't really help, if I want to set a block as an item frame, what should I do? (code)
Where x,y,z are integers, w is a World object, and direction is an integer between 0 and 3, inclusively.