Everything posted by Draco18s
-
[1.8]Split a mod in multiplex packages.jar
I'm doing it right now because while the n mods together share a theme, they are not reliant on each other and people can decide to only download the ones they actually want. Maybe they want one aspect and not the others.
-
[1.7.10] How to make a mob walk without moving
I scrapped the code. Converting the model box code to a ModelQuadruped derived object only took an hour or two. The benefits of using MC Animator just weren't worth it
-
[1.7.10] Recoloring texture layer
GL11.glSetColorMultiplier of I am recalling the name correctly.
-
[SOLVED] Problem with Setting Block Material
The same thing BlockFurnace extends?
-
[Solved] [1.7.10] Crash when loading chunks of size-limited world
Given only this thread, it was a good guess.
-
[Solved] [1.7.10] Crash when loading chunks of size-limited world
That's not the cause. I've gotten this error with my mod and I do nothing of the sort.
-
[Solved] [1.7.10] Crash when loading chunks of size-limited world
I've seen that crash before too. AFAICT, it's some kind of recursive block update with water (lava?) that causes the JVM to run out of stack space (recursive function calls can only go so deep before the JVM says, "fuck it, infinite loop, abort.")
-
[1.8] Crafting with a mixture of leaves and leaves2?
You need to use the ore dictionary and ore recipe classes.
-
Bow damages player when shooting on survival
And for god's sakes, rename your variables. alt-shift-r will refactor anything you select, so you can rename all those SRG variables to something meaningful quickly and easily.
-
Packet problem
The code you posted isn't the code that's crashing because the code that crashes is: private static void registerMessageForServer(Class handler, Class message) { net.registerMessage(handler, message, messages, Side.SERVER); messages++; } Which is being called from init at the line that reads: registerMessageForClient(SyncSkillsPacket.class, SyncSkillsPacket.SkillsMessage.class); Note that the method causing the crash says "ForServer" and call says "ForClient." Something is out of date.
-
Bow damages player when shooting on survival
Your bow class is useless, we need your arrow class.
-
[Solved] Thermal Expansion 4 API (Machines)
That requires knowing what the NBT looks like. Put one in your inventory (and nothing else). Exit the game. Open up NBTExplorer and look at it.
-
[Solved] Thermal Expansion 4 API (Machines)
public static void RemoveRecipe(Item resultItem, int stacksize, int meta, String modID) { ItemStack resultStack = new ItemStack(resultItem, stacksize, meta); ItemStack recipeResult = null; ArrayList recipes = (ArrayList) CraftingManager.getInstance().getRecipeList(); for (int scan = 0; scan < recipes.size(); scan++) { IRecipe tmpRecipe = (IRecipe) recipes.get(scan); recipeResult = tmpRecipe.getRecipeOutput(); if (ItemStack.areItemStacksEqual(resultStack, recipeResult)) { System.out.println(modID + " Removed Recipe: " + recipes.get(scan) + " -> " + recipeResult); recipes.remove(scan); } } } Then just supply your own new recipe as normal.
-
[1.7.10] How to render a 3D line / rectangle.
Well, it's a quad. So draw a quad with the tesselator.
-
[1.7.10] How to make a mob walk without moving
Mob's look vector, not the player's.
-
[1.7.10][Solved] Best way to deal with a full Potions array
IEEP IEntityExtendedProperties
-
[1.7.10] How to make a mob walk without moving
I said your experience. As in, using it. While true, the issues I'm having primarily deal with threads, and I only have enough understanding of threads to know the technicalities of concurrent modification, but not the know-how to keep it from happening. I'm also having trouble getting the mob to look at the player. AFAICT, it's an issue with the vanilla methods involving rotationYawHead, but f*k if I know what or why.
-
[1.8] How are map colors generated?
...in decimal. ████ = 7427071 (0x7153FF)
-
[1.7.10] How to make a mob walk without moving
Seeing as you have so much experience with MCAnimator and the author is so incognito, his website doesn't even have a "contact" link and a signup/login for non-existent services: Care to explain this? MCAnimator's library function crashes with a concurrent modification exception iterating over the list animCurrentChannels. I've had other crashes too, including a Null Pointer error trying to get a prevAnimTime(channel.name).
-
[SOLVED] Generating an ore makes My Minecraft crash PLEASE HELP
[18:58:42] [server thread/ERROR]: Encountered an unexpected exception java.lang.IllegalArgumentException: bound must be positive at java.util.Random.nextInt(Unknown Source) ~[?:1.8.0_25] at com.OlympiansMod.world.AllOre.addOre(AllOre.java:43) ~[AllOre.class:?] Looks like you tried to supply rand.nextInt(...) with a negative value. Also: int yPos = maxY + random.nextInt(maxY - minY); Shouldn't that be minY + rand(max-min)?
-
Structure "regenerates" itself [SOLVED]
private static boolean generated = false; ?
-
Ic2 API Energy
I need to know in which* Has it occurred to you to ask on the IC2 forums?
-
Structure "regenerates" itself [SOLVED]
Well it would help if you didn't tell the structure to always generate in the same place. Every time the game generates a new chunk, it builds another copy of your structure right where the existing one is, "regenerating" the broken blocks.
-
[RESOLVED][1.7.10] How can I make a Battery Item Based In Durability?
- [RESOLVED][1.7.10] How can I make a Battery Item Based In Durability?
onUpdate { takeALittlePower(); } takeALittlePower() { power += 1; slot[0].damageItem(1); } - [RESOLVED][1.7.10] How can I make a Battery Item Based In Durability?
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.