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 recreate the entity that heals the dragon in the end, but I have no idea what it's called (in the code) or how to create an entity in 1.8. Is there a tutorial that shows how to create an entity?

The proud(ish) developer of Ancients

Have you tried searching, perhaps on Google?

 

There are lots of tutorials, though I'm not sure how many are specifically for 1.8. Any tutorial for 1.7.10 should get you going for 1.8 as well, since the basics of coding an entity (registering it to EntityRegistry#registerModEntity, registering the render class, etc.) has not changed a whole lot, and mostly not at all.

 

As for the entity in the end, that's an EntityEnderCrystal, but the code for healing is actually within the ender dragon class called from onLivingUpdate() -> updateDragonEnderCrystal().

  • Author

Ok, thanks for the entity class. I asked for a tutorial because it looks like a lot of things changed in 1.8 so I assumed that it changed as well.

The proud(ish) developer of Ancients

Ok, thanks for the entity class. I asked for a tutorial because it looks like a lot of things changed in 1.8 so I assumed that it changed as well.

It has, but not really - a few methods have been renamed, the AI has changed a little, entity rendering has changed a little with the addition of Layers, but the basics of the actual entity class itself are nearly identical.

 

Unless you are planning to something really complicated, which it doesn't sound like you are, you are unlikely to run into any major issues following a 1.7 tutorial and using that code for 1.8.

  • Author

I'm creating an 'artifact' that essentially looks like the ender crystal and stores a string in it's nbt.

The proud(ish) developer of Ancients

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.