Everything posted by Draco18s
-
[1.7.2] Deobfuscating mod code help
/* * These lists should no longer be accessed directly. Instead, use the appropriate add, remove and get methods within this class. */ @Deprecated public static List<BiomeEntry> icyBiomes = biomes[biomeType.ICY.ordinal()]; Huh, it says deprecated with a note on what to use instead. Use the appropriate add, remove and get methods within this class. public static void addBiome(BiomeType type, BiomeEntry entry) { isModded = true; int idx = type.ordinal(); List<BiomeEntry> list = idx > biomes.length ? null : biomes[idx]; if (list != null) list.add(entry); }
-
[1.8] Help with fullbright texture
Thaumcraft's crystals did. It was so they could be found in dark caves easily while not lighting the area.
-
[1.7.10]Special Blocks?
Easy. Make a new block, make it invisible, set is light strength to 15.
-
[1.7.10]Structure Generation
You probably want 3 for the flag, not 0.
-
[1.7.10] How to post custom event
Here's an example from my project SpecialBlockEvent ev = new SpecialBlockEvent.BlockUpdateEvent(world, x, y, z, world.getBlockMetadata(x, y, z), world.getBlock(x, y, z), world.getBiomeGenForCoords(x, z)); MinecraftForge.EVENT_BUS.post(ev)
-
Damage Items at crafting
You can't do it with vanilla items, AFAIK. Normally it's done by overriding getContainerItem(ItemStack itemStack)
-
[1.8] Additional Team Members needed- Dwarf Fortress Role Play
You might be interested in taking a look at my artifacts mod, both for how to go about trying to randomly generate stuff, as well as content (crazy dwarves making crazy legendary items? Why not!) It may also interest you that I've been working on a mod to add some more realistic aspects to minecraft including ceiling collapses. I've been about two days away from release for a month now. But if your interested in some of that, I'd be willing to share.
-
[Solved] Communicate TileEntity to TileEntitySpecialRender? [1.7.10]
I don't know what the problem is. Aside from the one thing I pointed out, I don't see anything.
-
Mysterious Model Crash
Shape5.mirror = true; Shape5 = new ModelRenderer(this, 80, 16); Techne does this a lot.
-
[Solved] Communicate TileEntity to TileEntitySpecialRender? [1.7.10]
The fuck? tileentity.getWorldObj().getTileEntity
-
[1.7.2] Deobfuscating mod code help
What's the error?
-
[1.7.10] Entity adding light not working
Yep, lighting recalc isn't very fast. That's why I used a fake lighting block that only updates if the "source" moves 4(?) blocks away from it. Keeps the updates to a minimum while providing a decent amount of light. https://github.com/Draco18s/Artifacts/blob/master/main/java/com/draco18s/artifacts/components/ComponentLight.java#L93
-
[1.8] How do configuration files work??
/eclipse/config
-
[1.7.10] Massive rendering glitches with Multiblock OBJ Model
Your easiest solutions are to break the model up differently or use a simpler model. You're not likely to fix it by changing the rendering code, unless you want to solve some of the holy grails in computer graphics.
-
[1.7.10]No OpenGL context found in current thread?
The item pickup happens server side only, the achievement GUI is client side only. The two sides cannot mix or you will crash a dedicated server. Use packets.
-
[1.7.10] Massive rendering glitches with Multiblock OBJ Model
Ok, so, basically the problem boils down to this: Minecraft is really really bad at Z-sorting. That is, figuring out what triangles need to be drawn first and which ones not at all. It's a hard problem in any case, just Minecraft is less-good on average on account of having been programmed by one guy. It gets away with this accurately on most occasions by assuming that everything is a cube and that triangles don't intersect. Things get trickier if the triangles in question have any sort of transparency (and if you look at vanilla, it has this problem a lot: particles rendering behind water, and so on). Anyway, if nothing's transparent, then there's some kind of z-sort that's assuming one thing, but which isn't true. My guess is that the model pieces stick out of their blocks, but are being sorted by where they should be in screen-z-space as if they were contained to their cube volume.
-
[1.7.10] Massive rendering glitches with Multiblock OBJ Model
Ahh, good ol' depth sorting. How many of those bits have transparent parts?
-
Creating an instance of a class freezes up Minecraft?
It's more of a workflow problem.
-
[1.7.10] When entity is on block Y+1 give potion effect?
getEntitiesWithinAABB?
-
[1.7.10]No OpenGL context found in current thread?
Correct. That's why you can't pick up ghost items. So stop calling the client main class. Even if it's never called (because you wrapped it in an "is not remote" check) it will still crash, because the compiled code is invalid.
-
Chunks, Saving Data to, And So on
Clunky, but it should work.
-
[1.7.10]No OpenGL context found in current thread?
You don't say.
-
Chunks, Saving Data to, And So on
Ok, so how do I fix it?
-
Chunks, Saving Data to, And So on
Ok, this fixed it for SSP, but not SMP. Now what?
-
Can't get forge 1.7.10 server public
Likely a firewall issue.
IPS spam blocked by CleanTalk.