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

So, I've decided to take on the task of attempting to make the player have wings made of smoke particles. I am planning on hard-coding all the points of the particles I want to show with their (x, y) positions relative to the center of the back, but then I'm going to need to rotate them about the z-axis (I think...) which I'm not quite sure how to do. I've been reading https://en.m.wikipedia.org/wiki/Rotation_matrix which is on Rotation Matrices and I think it may have something to do with this, but I'm not quite sure. I've only completed through Calc I and haven't taken Linear Algebra yet which is the class where I think I would learn this kinda thing. Should I just give up on this idea?

 

Also, I'm wondering how you get the player's body rotation. I know you can get the rotation of the head (player.getRotationYawHead()), but the rotation of the head and the body are often different.

 

I didn't really want to use OpenGL for this sort of thing, because I think it would look really cool to have the wings made of smoke particles, but if there's a way to accomplish the same sort of effect using OpenGL, I'm interested in hearing about it. Thank you for your help.

- Just because things are the way they are doesn't mean they can't be the way you want them to be. Unless they're aspen trees. You can tell they're aspens 'cause the way they are.

OpenGL is the rendering engine of Minecraft any type of rendering you do eventually traces back to OpenGL. There is a simple way to do rotations GLStateManager.rotate (angle, x, y, x). Honestly the easiest way would be to guess and check until you get the rotations correct, and i believe you can get the players rotation, but you may need reflection.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

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.