crash Galacticraft 1.12.2 any version on any forge
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By TileEntity · Posted
Delete the config file of nochatreports If there is no change, remove this mod -
By TileEntity · Posted
Remove animatedrecipebook from your server It is a client-side-only mod If this is not working, add the new crash-report Add crash-reports with sites like https://paste.ee/ and paste the link to it here -
i also finally managed to get it working heres my finished colorHandler that works currently for 1.18.2 and from what i can tell should work post version 1.12 //code start package com.zer0_the_wolf.layeredarmor.item.custom; import com.zer0_the_wolf.layeredarmor.item.LayeredArmoritems; import net.minecraft.client.color.item.ItemColor; import net.minecraft.client.color.item.ItemColors; import net.minecraft.nbt.CompoundTag; import net.minecraft.world.item.DyeColor; import net.minecraft.world.item.DyeableArmorItem; import net.minecraft.world.item.DyeableLeatherItem; import net.minecraft.world.item.ItemStack; import net.minecraftforge.client.event.ColorHandlerEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; public class ColorHandlers { @SubscribeEvent public static void registerItemColors(ColorHandlerEvent.Item event) { event.getItemColors().register(ColorHandlers::getColor, LayeredArmoritems.LEATHERCHAINHELMET.get(), LayeredArmoritems.LEATHERCHAINCHESTPLATE.get(), LayeredArmoritems.LEATHERCHAINLEGGINGS.get(), LayeredArmoritems.LEATHERCHAINBOOTS.get()); } private static int getColor(ItemStack pStack, int tintIndex) { CompoundTag compoundtag = pStack.getTagElement("display"); if (tintIndex == 0) { return compoundtag != null && compoundtag.contains("color", 99) ? compoundtag.getInt("color") : 10511680; } return 0xFFFFFF; } } //end code do note that you have to add a listener should be same place you added a listener for the event bus. mine looks like. eventBus.addListener(ColorHandlers::registerItemColors);
-
By a_random_something · Posted
Appreciate the help, but I did manage to figure it out with some tutorials. The main problem was figuring out how to calculate the angles for the arrows to shoot at -
iv done as best i can and gotten to the same stackoverflow error
-
-
Topics
-
Who's Online (See full list)
Recommended Posts