Quote:
Originally Posted by idattnertv
Hallo,
habe nochmal eine Frage, tut mir leid...
Wie mache ich z.b. sowas wie im Essentials Plugin: /nuke?
Also dass man blöcke im himmel spawnen lassen kann!?
|
Nein keine fragen XD scherzt bei Seite das ist gantz einfach
Code:
public boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7)
{
par3World.setBlockWithNotify(0, 15, 0, Block.tnt.blockID);
par3World.setBlockWithNotify(0, 16, 0, Block.fire.blockID);
}
setBlockWithNotify(0, 16, 0, Block.fire.blockID)
0= x-Axe
16 = y-Axe
0 = z-Axe
Da spawne ich halt zuerst einen TNT block 15 Blöcke über mir und dadrauf einen Feuer block . Allerdings ohne comando sonder mit Item Rechtsklick
Chris26
ihn der Minecraft version 1.2.5 gibt es ihn Sachen Struckturen spawnen nen kleinen Bug wenn ich weis wie man den umgeht Dan schreib ich es dir