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.

nikita488

Members
  • Joined

  • Last visited

  1. I have IBakedModel, but item for it renders like flat item with emo-texture. I see getOverrides method in IBakedModel and i see that this method need ItemOverrideList. I create class that extends ItemOverrideList and return Collections.<ItemOverride>emptyList() in constuctor and override handleItemState in it, but i don't know how to return my IBakedModel in it, so instead of flat emo-textured item i get my block with IBakedModel.
  2. I fix this like this: Instead of: builder.put(e, 220.0F / 65535.0F, 220.0F / 65535.0F); I use: int brightness = 220; float blockLight = ((float) ((brightness >> 4) & 15) * 32) / 65535; //Found this in Forge float skyLight = ((float) ((brightness >> 20) & 15) * 32) / 65535; //Found this in Forge builder.put(e, blockLight, skyLight); Result:
  3. I can't use OpenGL in IBakedModel
  4. I don't know how can i do this in IBakedModel
  5. Same result. Problem is not in texture.
  6. I want to create a block that not emmiting light but glow in the dark without using TESR, i ty to create this effect in TESR (to see if it's possible) and its works, but i don't want TESR, it's decorative block, i want to use IBakedModel and it's works too, but compared to TESR it's has strange "brown" shade and i don't know how to fix this...
  7. Hi. I have a problem, i want to create a block that not emmiting light but glow in the dark and this works: Left block: IBakedModel, Right block: TESR. And you can see difference between this, IBakedModel has strange "brown" shade compared to TESR. Color of this shade also changes depending on day/night time: Day: Night: Anyone know how to fix this? All my code here: https://github.com/nikita488/TestMod
  8. It's possible to make two layered block (animation and overlay) and set brightness and colour for 1 layer (animation) without using TESR? If yes, how?
  9. I need to make fancy laser. I think the best way to do that is a create quad, then rotate it based on camera position and direction along only one axis. How to do it?
  10. I need to create beam from one block to another, but I don't have idea how to do it...
  11. Screenshots: Energy Storage receive energy from Resonant Energy Cell: But energy doesn't extract from Energy Storage to Resonant Energy Cell:
  12. I use Fluxducts from Thermal Dynamics for testing.
  13. Hi =) I made block, which should store energy, but i have problem. Energy arrives in storage, but if I want to extract energy from storage, the energy doesn't extract. Help me please =) TileEntity: P.S. I wanted to put the code in the spoiler, but for some reason the spoiler does not work, and everything else too

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.