
FreshmanTV
Members-
Content Count
4 -
Joined
-
Last visited
Community Reputation
1 NeutralAbout FreshmanTV
-
Rank
Tree Puncher
-
HWYLA also takes in the color coded name of the liquid stored nice
-
Found the error, I thought I already implemented the getCapabilities() method, but no Now it works
-
FreshmanTV started following diesieben07
-
FreshmanTV started following [1.8] ItemStack of Dark Oak Door has null delegate and Hwyla integration
-
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
-
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?