Everything posted by Draco18s
-
Giving a standard block an inventory?
Simply: You can't use the vanilla cauldron. It does not have a TE and you need a TE to store items.
-
[1.8] Creating teleporters
Well, when you right-click the block with the item, store data in the stack's NBT tag.
-
[Solved][1.8] Overlay rendering - Non overlay rendering
Why are you trying to render 2D and 3D things on the same event?
-
[1.8] Creating teleporters
You're going to have to debug. It looks like the UUID isn't saving or loading properly so it ends up as null.
-
[1.8] (FIXED) WorldSavedData
I don't know, but line 113 of the Scythe appears to be checking for equality, not actually doing an assignment (or...whatever its supposed to be doing, as that line accomplishes nothing). My guess is that the code is running both server side and client side, causing duplication.
-
[1.8] Creating teleporters
override getBlockRelativePlayerHardness (iirc the method name correctly, search the Block class)
-
[1.8]Rendering 2D quads on block using TileEntitySpecialRender or something else
Well, get ready to learn. http://www.falloutsoftware.com/tutorials/gl/gl3.htm The Tessellator is just a wrapper around the OpenGL calls. There are other ways to use OpenGL than drawing quads, the Tessellator just forces quads because that's what it's used for.
-
[1.8] Village Building Problems
#2 has to do with the fact that the block decides on its own metadata after being placed, ignoring the metadata passed to the setBlock method. Just do world.setBlockMetadata(...) afterwards.
-
[1.8][SOLVED] TE Registration not Sticking
isRemote (a property) is used when you're performing logic updates, where the server has precedence and sends updates to the client. side (an annotation) is used when you want to remove a method, class, or field entirely when it is loaded on the other side.
-
making custom ores
See, your hashmaps are useless. this.addToBaseMap(this, baseBlock); //this serves no purpose If you have the block that is the key in that map ( registry.baseBlockMap.get(theBlock) ), you can just do theBlock.baseBlock and get the same thing. What you should be doing is storing a block1 -> block2 map where block1 is "this" and block2 is the next density (or whatever) down after its mined. Then you just have to create the blocks in the correct order (densest to least dense) adding to the map as you go.
-
[1.7.10] BlockRenderer vs TileEntitySpecialRenderer
AFAIK that is an accurate statement.
-
making custom ores
Its still a terrible, terrible loop. I'm almost certain there is a collection that would suit your needs better than a HashMap which you aren't even using as a hash map. You're treating them as arrays for no good reason. Because seriously, currentOre.ore.equals(registry.oreMap.get(inputBlock)) //being true could be done by currentOre = registry.oreMap.get(inputBlock) AFAICT.
-
Disable Layers in Forge?
You can't do that in the json file, you need to do that in a custom renderer. BakedModelQuad, iirc.
-
[1.7.10] Question on AnvilChunkLoader....
No, not really. It's way easier to destroy a project that has a database.
-
making custom ores
Ok....what are you using meta for, then?
-
making custom ores
Trying to have more than 16 density values is probably messing you up.
-
making custom ores
I do not even know WTF you're doing here.
-
[1.8] Trying to Remove Vanilla Recipes
Or if you do, count down. Because you removed an element, the next one is at the current index, which you increment before looking at a new element.
-
making custom ores
Aside from the fact that I'd originally needed some slight customization between the different ores (which has become less and less needed) you can do it all through one class. You just need to push enough things into the constructor (or have setters).
- making custom ores
-
How to route other mod packets to multiple worlds that are all in the same world
...I wonder what happens if you run your mod along side Looking Glass.
-
[1.7.10] Weird Texture glitch
That's called Z-Fighting. https://en.wikipedia.org/wiki/Z-fighting
-
[1.7.10] Custom skills, looking for advice
Awesome mod btw. I was linked to it a few weeks back. I loved the series (both, actually) and think it was a cool mod concept.
-
[1.7.10] Rotating a texture on a face [Solved]
That's not how the furnace works. The furnace doesn't ACTUALLY rotate, it just displays a different texture (the "front") on a different side (NSEW).
-
Access transformer help
Even those of us who HAVE read the thread have no idea what you're trying to do.
IPS spam blocked by CleanTalk.