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.

Vilsol

Members
  • Joined

  • Last visited

  1. Seems like you havent read the post either. I cant use the metadata, as well as I have already found out how to do it and why it doesnt work.
  2. Anyways, it can be closed now. The tutorials everywhere were outdated.
  3. You have to got to be kidding me? PHP, C++, Java (for a year), Python, Perl and some basic ones like Shell, Bacth etc.
  4. That is why I said coding in general not exactly java... also, I have been coding bukkit plugins for a year and never had to override anything, As well as I have read where other people have used this and they have not overrided it. As well, I tried to override it but it told me there is nothing to be overriden, so yeah.
  5. I have quite a lot of spirit. I have messed with this problem for 3 days and this is like a call of help. I have been coding in general for about 6-7 years... so yeah. Also, here is my method: public void onBlockPlacedBy(World world, int x, int y, int z, EntityLiving livingentity, ItemStack stack){ System.out.println(livingentity); rotation = MathHelper.floor_double((double)(livingentity.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; }
  6. Did you even read what I said? I cant use metadata!
  7. I already said, that for unknown reason my onBlockPlacedBy doesn't work. This means I can't use what vanilla does.
  8. I am pretty new to the Forge API (As you might have noticed), but I have a problem that I need to solve, which is that I need to change the direction of the textures on the block, but I can't use the meta data because I am using it for other things. I have already looked at vanilla pistons, pumpkins, furnaces but they are all using meta data values. Thanks in advance! I have also noticed a very weird thing, that for some reason my onBlockPlacedBy is never called (tested with system.out.println...), anyone has any idea why?

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.