Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I want to take an existing in-game entity and replace it's code (I don't want to change the textures and appearence at all) with mine.

 

Everywhere I look I see only how to register a new entity.

If I cannot simply replace an entity, how do I remove one from the game? If I can do that, I can just mimik the name of the one I want to replace. 

 

I would also like to have information about how to link my replacement to the entity's spawn egg.

 

I can supply code if necessary, but I didn't do much, I am still mostly planning so I don't think much would help.

 

Thanks!

Edited by Nimi142
Added version to title

  • Author

I want to change the spawn conditions as well. Will removing the entity entirely and creating a new one that inherits it be better?

If so, how do I remove this entity from the game? I suppose I can stop it from spawning by using "EntityJoinWorldEvent" and removing it everytime it spawns, but I would like to remove it's egg and stuff as well. Is such a thing possible?

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.