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 have four varients of logs, planks, leaves, saplings, grass, and dirt.  The four variants are SA, PLASMA, SPIRE, and MERC.  However, for the SPIRE and MERC logs, leaves, and saplings, the seem to display other the wrong textures. The Planks, grass, and dirt are working fine though. The MERC Log, Leaves, and Saplings display the SA variant of textures textures. And the SPIRE Log, Leaves, and Saplings display the PLASMA variant of textures textures. I've tried to tinker with the meta data values in the block classes, but it seems to never display the right textures. I've tried setting the leaves from 

return apply.getMeta() < 2; and return this.getDefaultState().withProperty(VARIANT, EnumHandler.EnumType.byMetadata(meta % 2));

to 

return apply.getMeta() < 2-5;, and return this.getDefaultState().withProperty(VARIANT, EnumHandler.EnumType.byMetadata(meta % 2-5));

 

The most I've been able to do is get each texture working, but in reverse order. Does think they can help?

 

GitHub:

https://github.com/Viking2481/ProjectMod

 

(Yes I know, its not very organized because I didn't make the repository until recently were I had way to many files to upload at once)

 

 

EnumType is a terrible name for your variants.

This method is broken. You use the same bits for axis and variant.

This is also broken. You have 4 variants and you're trying to read them from a single bit.

Not sure what this is, but it's probably broken, you have 4 variants. Ditto for your leaves.

Again with the &1.

Again with using the same bits.

Your fromMeta is broken, it doesn't read the DECAYABLE value.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.