Skip to content

Instantly share code, notes, and snippets.

View BluSunrize's full-sized avatar

BluSunrize

View GitHub Profile
@BluSunrize
BluSunrize / stacktrace.log
Created June 30, 2024 18:09
Aether disconnect, moa skin
[30Jun2024 15:56:52.431] [Netty Epoll Server IO #6/ERROR] [net.minecraft.network.Connection/]: Exception caught in connection
io.netty.handler.codec.EncoderException: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because "p_130086_" is null
at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107) ~[netty-codec-4.1.97.Final.jar%23108!/:4.1.97.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:881) ~[netty-transport-4.1.97.Final.jar%23112!/:4.1.97.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:940) ~[netty-transport-4.1.97.Final.jar%23112!/:4.1.97.Final]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:966) ~[netty-transport-4.1.97.Final.jar%23112!/:4.1.97.Final]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(Ab
---- Minecraft Crash Report ----
// Daisy, daisy...
Time: 2024-06-19 12:51:31
Description: Exception ticking world
java.lang.NullPointerException: Cannot invoke "java.util.Set.remove(Object)" because "trackers" is null
at com.wildfire.main.WildfireGender.onStopTracking(WildfireGender.java:121) ~[Female-Gender-Mod-neoforge-1.20.4-3.2.0.jar%23248!/:neoforge-1.20.4-3.2.0] {re:classloading}
at net.neoforged.bus.ConsumerEventHandler.invoke(ConsumerEventHandler.java:26) ~[bus-7.2.0.jar%2370!/:?] {}
at net.neoforged.bus.EventBus.post(EventBus.java:386) ~[bus-7.2.0.jar%2370!/:?] {}
@BluSunrize
BluSunrize / crashlog.txt
Created October 18, 2020 16:13
Minecraft Forge crash with Dispenser Behaviors
---- Minecraft Crash Report ----
// I let you down. Sorry :(
Time: 18.10.20 18:01
Description: Exception while ticking
java.lang.NullPointerException: Exception while ticking
at net.minecraft.item.ItemUseContext.<init>(ItemUseContext.java:20) ~[?:?] {re:classloading}
at net.minecraftforge.fluids.FluidUtil.tryPlaceFluid(FluidUtil.java:551) ~[?:?] {re:classloading}
at net.minecraftforge.fluids.FluidUtil.lambda$tryPlaceFluid$5(FluidUtil.java:511) ~[?:?] {re:classloading}
@BluSunrize
BluSunrize / debug crash
Created August 23, 2020 12:00
Engineer's Decor Debugging
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 8/23/20 2:00 PM
Description: Manually triggered debug crash
java.lang.Throwable: null
at net.minecraft.client.KeyboardListener.func_204870_b(KeyboardListener.java:428) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1504) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:928) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
---- Minecraft Crash Report ----
// Don't do that.
Time: 6/22/20 8:16 PM
Description: Exception in server tick loop
java.lang.NoSuchMethodError: net.minecraft.entity.passive.SheepEntity.func_175513_a(Lnet/minecraft/item/DyeColor;)[F
at blusunrize.immersiveengineering.common.crafting.EarmuffsRecipe.getCraftingResult(EarmuffsRecipe.java:96) ~[?:?] {re:classloading}
at blusunrize.immersiveengineering.common.crafting.EarmuffsRecipe.func_77572_b(EarmuffsRecipe.java:33) ~[?:?] {re:classloading}
at blusunrize.immersiveengineering.common.gui.CraftingTableContainer.lambda$onCraftMatrixChanged$1(CraftingTableContainer.java:94) ~[?:?] {re:classloading}
@BluSunrize
BluSunrize / IE_Codestyle.xml
Created July 8, 2018 21:47
IntelliJ Codestyle that is used throughout Immersive Engineering
<code_scheme name="Project" version="173">
<option name="INSERT_INNER_CLASS_IMPORTS" value="true" />
<JavaCodeStyleSettings>
<option name="INSERT_INNER_CLASS_IMPORTS" value="true" />
</JavaCodeStyleSettings>
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
<codeStyleSettings language="JAVA">
<option name="BRACE_STYLE" value="2" />
@BluSunrize
BluSunrize / GenesysTableBuilder.py
Last active February 8, 2018 10:15
A small Python program to make nice HTML tables for Genesys on GMBinder
class Table:
columns = []
data = []
shorthand = {'ml': 'Melee(Light)', 'mh': 'Melee(Heavy)', 'rl': 'Ranged(Light)', 'rh': 'Ranged(Heavy)',
'g': 'Gunnery', 'e': 'engaged', 's': 'short', 'm': 'medium', 'l': 'long', 'ex': 'extreme',
'st': 'strategic'}
def __init__(self, name, *columns):
self.name = name
self.columns = columns
@BluSunrize
BluSunrize / GenesysDiceRoller.js
Created January 31, 2018 17:47
A dice roller script for Genesys, based on the EotE one, with adjusted symbols
/*
Current Version: 1.3.0
Last updated: 01.10.2018
Character Sheet and Script created by: GM Knowledge Rhino
Known Issues:
* Dice Suggestions do not fully match up to Genesys.
Credits:
Original Star Wars Dice Roller creator: Konrad J.
@BluSunrize
BluSunrize / Utils.java
Created June 21, 2017 13:13
Java method (using Minecraft vectors) to detect a point in cone
/**
* Checks if point is contained within a cone in 3D space
*
* @param start tip of the cone
* @param normDirection normalized (length==1) vector, direction of cone
* @param radius radius at the end of the cone
* @param length length of the cone
* @param truncationLength optional lenght at which the cone is truncated (flat tip)
* @param relativePoint point to be checked, relative to {@code start}
*/