Here are two mods I made yesterday: one functional, the other giving me issues.
File comment: Pumpkins and slime blocks mod.
Pumpkins.cs [5.98 KiB]
Downloaded 10 times
(Block IDs 300 to 309 occupied)
File comment: Required textures.
blocks.zip [11.56 KiB]
Downloaded 5 times
(Required textures, one of them only required by the next mod, Trapdoor)
The pumpkins mod adds, not only pumpkins and Jack-o'-lanterns, but also the farming of pumpkins, which currently works the same way as crops' growth does, and slime blocks, decorative blocks made out of 1 pumpkin and 2 salt blocks each which can be crafted into different shapes.
The only small problem with it is that I've set slime carpets and slime half blocks' textures to be translucid, even though these block types themselves do not support transparency very well and end up causing graphical glitches along with adjacent normal blocks (can be used to see through the other blocks as if they were all completely invisible when the blocks are adjacent).
A solution to this would be the existence of transparent carpets and transparent half blocks, but it isn't too important anyways.
File comment: Trapdoors mod.
Trapdoors.cs [2.01 KiB]
Downloaded 7 times
(Block IDs 310 and 311 occupied)
This is the trapdoors mod. It does exactly that: adds trapdoors to the game.
My issue with it is that, when I've got it loaded, I cannot open any singleplayer map (except 'default' for some reason, as I can always enter it with the mod and everything's fine) for the second time. The first time, when I generate the map and enter it, everything's alright. When I leave and try to return to the same map, the game just crashes.
Here's what ManicDiggerClientCrash.txt has to say about it:
19-08-2016 00:11:36: Critical error occurred
System.NullReferenceException: The reference to the object wasn't defined as an instance of the object
in ProcessPacketTask.ProcessPacket(Packet_Server packet)
in TaskScheduler.Update(Game game, Single dt)
in ScreenGame.Render(Single dt)
in MainMenu.DrawScene(Single dt)
in MainMenu.OnNewFrame(NewFrameEventArgs args)
in MainMenuNewFrameHandler.OnNewFrame(NewFrameEventArgs args)
in GamePlatformNative.window_RenderFrame(Object sender, FrameEventArgs e)
in System.EventHandler`1.Invoke(Object sender, TEventArgs e)
in OpenTK.GameWindow.OnRenderFrame(FrameEventArgs e)
in OpenTK.GameWindow.OnRenderFrameInternal(FrameEventArgs e)
in OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
in OpenTK.GameWindow.DispatchUpdateAndRenderFrame(Object sender, EventArgs e)
in OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
in ManicDiggerProgram.Start(String args)
in ManicDigger.ClientNative.CrashReporter.Start(ThreadStart start)
This information couldn't help me fix the issue at all
. It doesn't tell me what's wrong with the file itself, just shows that, whatever it is, affected a bunch of stuff. Maybe this could help you find out what the problem is so I've put it here either way.
Thanks for reading.
PS: I have disabled either of the pumpkins mod and the trapdoors mod alternately and both of them at the same time and tested. The testing allowed me to conclude that, with or without pumpkins, the crashes happen when trapdoors are enabled, and that no crashes happen when trapdoors are disabled, being indifferent wether pumpkins are enabled or not.