Posted July 30, 20205 yr Im using intellij and i want to make a thing so that when i break a block it spawns a silver fish there so far i am just using an event but im not sure how to go about spawning one any ideas? (1.16 btw)
July 30, 20205 yr create an instance of SilverfishEntity and use World.addEntity() to add it (do it on server)
July 30, 20205 yr Author oh wait i missed the do it on server im very new to coding and dont know what you mean by that
July 30, 20205 yr if (!world.isRemote()) world.addEntity(entity); https://mcforge.readthedocs.io/en/latest/concepts/sides/
July 30, 20205 yr don't just copy what I give you..... 14 minutes ago, poopoodice said: create an instance of SilverfishEntity and use World.addEntity() to add it (do it on server)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.