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.

FreshmanTV

Members
  • Joined

  • Last visited

Everything posted by FreshmanTV

  1. HWYLA also takes in the color coded name of the liquid stored nice
  2. Found the error, I thought I already implemented the getCapabilities() method, but no Now it works
  3. So I've created a basic Block with a corresponding TileEntity class. The TileEntity implements IFluidHandler and IFluidTank and stores a FluidStack. So it already implements all needed methods (e.g. drain) and works perfectly! I tried my mod out with some other, quality of life mods (in this case HWYLA) and HWYLA throws an error each tick when I look at the mentioned Block. How can I let HWYLA know what kind of information should be shown in the tooltip? (I didn't find any wiki or tutorial explaining that, that's why I'm asking the question here) TileEntityTimeGenerator.java BlockTimeGenerator.java
  4. So, im working at a kind of Guide Book. A created a kind of abstraction for it, one of them is the class "CraftingRecipe". When you call the draw method of this class, it should draw a crafting grid(works) and the items/blocks that are located in the grid. I copied the method "drawItemStack" from GuiContainer to draw the itemsstacks: public void drawItemStack(ItemStack stack, int x, int y, String altText) { RenderHelper.disableStandardItemLighting(); RenderHelper.enableGUIStandardItemLighting(); GlStateManager.translate(0.0F, 0.0F, 32.0F); zLevel = 200.0F; itemRender.zLevel = 200.0F; FontRenderer font = null; if (stack != null && stack.getItem() != null) { font = stack.getItem().getFontRenderer(stack); if (font == null) font = fontRendererObj; itemRender.renderItemAndEffectIntoGUI(stack, x, y); itemRender.renderItemOverlayIntoGUI(font, stack, x, y, altText); } zLevel = 0.0F; itemRender.zLevel = 0.0F; RenderHelper.enableStandardItemLighting(); } This method also works fine, but not for the dark oak door. Here is the log: Why does this error happen and how can I fix it?

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.