Custom Fluid Bucket Crash

Status
Can not reproduce
Type
Product/platform
Not applicable
Priority
Normal
Issue description

This is a new type of Bug that I found in the Mcreator Version 1.8.1,

 

You can create custom fluids in McTreator.  In addition to the liquid/fluid you can also click on a chop with the MCreator creates a bucket to this fluid. In the workspace example in the attachment, I have the bucket under "Miscellaneous-Tab" saved, so you can find this bucket in the Miscellaneous-Tab.But after I open the tab, the game crashes. This also applies to Survival.

Maybe the game can't render the texture, becuase it crashes (in this example) when I'm near to the custom fluid bucket in the inventory, so when the player will see it in the next few seconds the game crashes. The fluid still generates normal. But if you didn't select "bucket" then you will not be able to right-click the fluid.

Attachment Size
The workspace23.33 KB 23.33 KB

Issue comments

I have imported your workspace and was able to use the bucket without crashing. Could you paste the crash log from the Console here? Thanks!

yeah sure here:

 

- Head --
Thread: Client thread
Stacktrace:
   at net.minecraftforge.client.model.ModelDynBucket$BakedDynBucketOverrideHandler.handleItemState(ModelDynBucket.java:429)
   at net.minecraft.client.renderer.RenderItem.getItemModelWithOverrides(RenderItem.java:245)
-- Item being rendered --
Details:
   Item Type: net.minecraftforge.fluids.UniversalBucket@5f708ac6
   Registry Name: forge:bucketfilled
   Item Aux: 0
   Item NBT: {FluidName:"testfluid",Amount:1000}
   Item Foil: false
Stacktrace:
   at net.minecraft.client.renderer.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:347)
   at net.minecraft.client.gui.inventory.GuiContainer.drawSlot(GuiContainer.java:297)
   at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:116)
   at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:59)
   at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:686)
   at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:381)
-- Screen render details --
Details:
   Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
   Mouse location: Scaled: (240, 149). Absolute: (721, 388)
   Screen size: Scaled: (534, 279). Absolute: (1600, 837). Scale factor of 3
-- Affected level --

 

Stacktrace:
   at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:461)
   at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2888)
   at net.minecraft.client.Minecraft.run(Minecraft.java:462)
   at net.minecraft.client.main.Main.main(Main.java:118)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
   at GradleStart.main(GradleStart.java:25)

Try importing the workspace you provided me in your MCreator back and report if this workspace crashes. Because when I imported your workspace, everything worked, bucket rendered and I could use it without crashing.

Well. I could try it, but like I said this bug happens to me since I have downloaded 1.8.1 . It didn't happen to me in 1.8.0 . What I'm trying to do now is that I'm waiting until 1.8.2 comes out. If it still happens, than I will contact you again.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.