Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Lightning Id


  • Please log in to reply
18 replies to this topic

#1

GerbilCrab475
  • Location: The SOL

Posted 22 January 2012 - 09:35 PM

The wiki doesn't have the Id Number for lightning and I need it for a spawn egg. Does anyone know what the entity ID for lightning is?

Posted Image
^Not many of these potions can actually be made in vanilla Minecraft! Support the missing potions today! ^


Register or log in to remove.

#2

Kpeterman98
  • Location: United States
  • Minecraft: Spartian101

Posted 22 January 2012 - 09:38 PM

Lightning is implemented into the game. It's not a block or anything like that. Therefore, it doesn't have an ID.

Posted Image


#3

Clickify100
  • Minecraft: Clickify100

Posted 22 January 2012 - 09:39 PM

Quote from the wiki:

"Lightning, unlike other weather, does not have an image file associated with it. Thus, it is coded directly into the game engine, allowing for dynamic, realistic lightning."

#4

Minecraft_Rulez65
  • Location: Under ur bed
  • Minecraft: Honkychonky

Posted 22 January 2012 - 09:41 PM

It is not a block do has no I'd but if u have spc commands u can do weather lightning

#5

4forpengs
  • Location: New Jersey
  • Minecraft: 4forpengs

Posted 23 January 2012 - 02:55 AM

Well, first off, a non block can have an ID, like. chicken and arrows. But lightning is generated in, not spawned.
Posted Image

#6

vexx32
    vexx32

    Ghast Hunter

  • Members
  • 2510 posts
  • Minecraft: vexx32

Posted 23 January 2012 - 06:37 AM

Aye. Lightning is neither a block nor a mob, nor an item. Therefore, the standard methods of spawning mobs and such with a spawning egg will not work. If you create a new item similar to the spawning egg, you can attempt to make lightning strike the targeted block when it is right-clicked. If SPC has downloadable source code, you can look at their commands and the code they use to "spawn" lightning on-command, and use it to spawn lightning using the item.

Posted Image
Donate to help me buy people Minecraft accounts! :)


#7

Crafter_Keegan
  • Location: Canada
  • Minecraft: Crafter_Keegan

Posted 11 February 2012 - 01:43 AM

Listen to what he said guys, or get your facts straight!  The texture of lightning is coded into the game, but that doesn't mean it isn't anything, in fact it is an entity (like mobs, projectiles, vehicles and so on). This should atomaticly mean it has an ID, but I can't seem to find it anywhere. This is the same deal with paintings, although it doesn't really matter for they would crash the game anyway, because they require additional information (same with a Spawn Item egg).

#8

nighthawk475

Posted 09 March 2012 - 12:49 AM

lightning should have an entity value number, just like mobs, and other entities have. some other examples are primed TNT and all projectiles, i don't know how well it would work with lightning, but i know you can give yourself a spawn egg with the data value of TNT and it will explode the moment you right click on anything (really cool weapon =P), and the wiki does have lightning listed as an entity, it could be wrong though, because if it doesn't have a data number i think then it's technically not an entity.

#9

CreeperLord14
  • Location: In the middle of the night. Battling creepers.
  • Minecraft: CreeperLord14

Posted 09 March 2012 - 08:41 AM

Lighting doesnt have a ID number. *facedesk*
CreeperLord14: Redefining the horror of creepers everywhere. The ultimate Minecrafter
Posted Image

#10

Phantom_100

Posted 20 April 2012 - 01:47 AM

View PostCreeperLord14, on 09 March 2012 - 08:41 AM, said:

Lighting doesnt have a ID number. *facedesk*
*Facewall* Anything that is not a block, item or mob that interacts with you in any way, is called an entity. Entities have what is called a network id. The network id can be set as a damage value for a spawn egg to create that entity.

#11

Coathar44
    Coathar44

    The Meaning of Life, the Universe, and Everything...

  • Members
  • 42 posts

Posted 15 August 2012 - 01:08 AM

Any one know the id for primed tnt?  Its for a mob spawner. the new update lets it spawn things like primed tnt

#12

ChocolateIsSooooooooTasty
  • Location: InTheMiddleOfNowhere
  • Minecraft: ChocSprinklez

Posted 22 January 2013 - 02:03 AM

View PostKpeterman98, on 22 January 2012 - 09:38 PM, said:

Lightning is implemented into the game. It's not a block or anything like that. Therefore, it doesn't have an ID.
yes it does all entitys have an entity id like the ender crystals id is 200

#13

mappy175
    mappy175

    Out of the Water

  • Members
  • 7 posts

Posted 04 April 2013 - 08:37 PM

Lightning doesn't have an ID.
Posted Image

#14

GerbilCrab475
  • Location: The SOL

Posted 04 April 2013 - 09:17 PM

Wow, this topic is old. I only asked the question because I saw pure nothingness burning when I forced lightning to strike glass.I thought this was an entity burning. It's too bad it doesn't have an ID. Then you could make lightning spawners.

Posted Image
^Not many of these potions can actually be made in vanilla Minecraft! Support the missing potions today! ^


#15

Grantwc2
    Grantwc2

    Out of the Water

  • Members
  • 4 posts

Posted 31 December 2013 - 07:42 PM

You may be interested to know that I have created artificial lightning. It's a pain in the arse though. My artificial lightning travels 10 blocks. I used 30 command blocks to do this. If I would've done the command block traveling 20 blocks, I would've used 60 command blocks(I did this later) you multiply how many blocks your traveling by 3 {3 rows of separate command blocks}.

The way this works is I have a row of 10 command blocks that set a block at a certain position, and each time it places a new block at a position directly one under the other until it gets to the end. Another row of command blocks, which is one repeater setting behind the first, deletes the blocks after they are placed. The third row, is simply playing the thunder sound, and giving the effect of night vision for 1 second so it appears to flash light even if you are far from the game.

I specifically used glowstone for my lightning because of the lighting effect, although I could've made it with stained glass but whatever. I hope this thread helps you, even though it may be difficult.

#16

ahjfcshfghb

Posted 31 December 2013 - 07:44 PM

It's basically weather, doesn't have an ID
subscribe! :)

#17

Lyingdark887
  • Minecraft: Lyingdark887

Posted 19 March 2014 - 08:28 PM

It does because it is an entity because it can die/despawn (after half a second)

#18

Flutterguy6789
  • Location: Hanging Out At Kami's Lookout
  • Minecraft: Mizzet5

Posted 19 March 2014 - 11:43 PM

View PostGerbilCrab475, on 04 April 2013 - 09:17 PM, said:

Wow, this topic is old. I only asked the question because I saw pure nothingness burning when I forced lightning to strike glass.I thought this was an entity burning. It's too bad it doesn't have an ID. Then you could make lightning spawners.
Dude, listen to the others! It has an ID, because it is an entity! Like they said, it doesn't actually have an ID. But they forgot one part. Instead of an ID, it has a Network ID!

#19

Tabby2001
  • Location: The USA
  • Minecraft: Tabby2001

Posted 20 March 2014 - 05:32 AM

I will look next time I program. For now enjoy my hard work for nothing:
Quote minecraft wiki:
|     Kind     |      Solid    |      Drops     |      Despawns     |      Health     |      Width x Height     |      ID     |
|                   |                  |                      |                              |                       |                                     |               |
| Lightning |       no       |     n/a          |    Half a second  |     infinite     |                 ?                   |      ?       |

View PostCoathar44, on 15 August 2012 - 01:08 AM, said:

Any one know the id for primed tnt?  Its for a mob spawner. the new update lets it spawn things like primed tnt
It's 20
PS. That mc wiki quote took forever to write

Oh yah zombie kill'n!

Posted ImagePosted Image