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 make a mod in 1.8.9 where I have an entity with the functionality of the drone in Tom Clancy's Rainbow Six Siege. My questions for this are:

• Is there a way to get the view of an entity and render it in a GUI?

• Does the entity need to be an instance of EntityLiving or can it be a normal Entity?

 

I haven't done any coding yet, so there is nothing to show yet.

To make things a bit clearer: When throwing the drone, the player will get a smartphone-like device and when he right clicks this item, he will get a GUI with the view of the drone entity. I don't want to look for entities in a certain radius, I want the player to be able to scout out a building/map without putting himself into the danger of getting shot.

I know but while I have to admit that I haven't looked at this mod in a while, last time I took a look at it, the player was mounted to the camera entity and when he dismounted, he was placed directly below the camera, which is bad for my case because you don't want to be put directly into the enemy's area when the shoot your drone.

EDIT: The dismounting from the camera entity seems to be fixed but I want to avoid having to mount the player onto the drone because of the need of him stay at a certain position while the drone is moving.

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.