This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Is it possible to make lightning strike the player (but not do any damage) If they touch the ground with a certain item? Any help would be great and appreciated. Thanks
Does it have to be a minecart or can it be a chicken? Mostly because I don't know how to spawn a minecart
function useItem(x,y,z,itemId,blockId) { if(itemId == 1) // stone { var mctolt = Level.spawnMob(getPlayerX(),getPlayerY()-2,getPlayerZ(),EntityType.MINECART); Entity.setRenderType(mctolt,EntityRenderType.lightningBolt); } } CMIIW
Is it possible to make lightning strike the player (but not do any damage) If they touch the ground with a certain item? Any help would be great and appreciated. Thanks
Does it have to be a minecart or can it be a chicken? Mostly because I don't know how to spawn a minecart
function useItem(x,y,z,itemId,blockId) {
if(itemId == 1) // stone {
var mctolt = Level.spawnMob(getPlayerX(),getPlayerY()-2,getPlayerZ(),EntityType.MINECART);
Entity.setRenderType(mctolt,EntityRenderType.lightningBolt);
}
}
CMIIW