Everything posted by Draco18s
-
[1.7.10] onCreated method for Item called twice for server?
class MySuperPick extends MyItemPickaxeClass
-
[1.7.10] how to get Tile entity of a block when right clicked?
World contains fuckeverything.
-
[1.7.10] how to get Tile entity of a block when right clicked?
It's fucking amazing what your IDE can do.
-
[1.7.10] Dimension Help
You never assign anything to worldObj.
-
[Solved] Does the client need this mod?
Still doesn't address my question: What allows a player to spend currency other than giving it to another player? What allows a player to check their balance? How does a player earn currency? Money is not what makes an economy. Money is what greases the economic gears.
-
[SOLVED] Return item on right click?
getContainerItem(); //this line is doing nothing
-
[Solved] Does the client need this mod?
That doesn't explain what the wallet is used for.
-
[1.7.10] [SOLVED] How do i add durable items to my crafting recipes???
You create a custom item that is your "durable item" and you override those two functions.
-
[1.7.10]Modeling/Rendering problems
I don't know which side that is, but figure that out and mess with this line: ???Side.setInitialRotationPoint(0.0F, 8.0F, -8.0F); One of those three numbers will move it in a direction. Move em' around until things line up.
-
[Solved] Does the client need this mod?
Um. If its a wallet. How do they "use" the "money" it has in it?
-
[1.8] Unreadable parameter/function names
Looking at the code and seeing what it does.
-
[1.7.10] [Solved] Tile entity with .obj model follows mouse.
Whoops, sorry. It was some of my own helper code, haha. The one reply was done from my tablet, so I couldn't look at my code. It was an interface I created so that my TEs could be passed to an IItemRenderer, just as you've done and I didn't need a separate IItemRenderer for each TE. I apologize for the confusion.
-
[1.8] Unreadable parameter/function names
Those are the SRG names and they look like that because there hasn't been a friendly name applied to them yet, via MCPBot.
-
[1.7.10] [Solved] Tile entity with .obj model follows mouse.
Its 1.7.10 and what I'm using.
-
[1.7.10]adding effects to an arrow
You should write a custom arrow class. Note: it will not be easy.
-
[1.7.10] [Solved] Tile entity with .obj model follows mouse.
Implement TileEntityInventoryRenderer in your TESR
-
[1.7.10] Lag with Chunk.Load event For discovery of new Biomes
That is not how you make an array of unique objects. indexOf() and contains() exist, use them. Secondly, you add a copy of the biome to the array for every non-matching entry, so your method doubly fails the "unique instances only" requirement: array = {plains, mountains} newBiome = plains //loop does newBiome == plains? yes. next does newBiome == mountains? no, add it to array //end loop array = {plains, mountains, plains}
-
[1.8][SOLVED]A textured block that changes relative to the players position?
You're missing some commas down in your "textures" section.
-
[1.8][SOLVED]A textured block that changes relative to the players position?
And your json file?
-
[1.8] Passing data from an entity to the item
Seriously? This is like your third thread on this topic.
-
[1.8] [SOLVED]Display GUI when interacting with an entity
player.openGui(...)
-
[1.7.10] [Solved] Tile entity with .obj model follows mouse.
BTW, to get it to render as a 3D item, you can render it just like in the world: just pass the renderer a dummy entity and render it at (0,0,0).
-
Assign properties to Chunks
You will need your own internal data structure mapping chunk->data, but you can read and write that data to the chunk during the ChunkDataEvent, same as if you were using a TileEntity (that is: the readFrom/writeTo functions give you access to the NBT, but you don't hold onto the NBT, but convert it back to live data).
-
[1.8] Making a portal that teleports players AND non-player entities
Remove what cooldown? The only cooldown you have is for players.
-
[1.7.10] [Solved] Tile entity with .obj model follows mouse.
I know what it's supposed to do, but I've seen really odd things when I try to do both a rotation and a translation with only the one pair. There was a forge wiki page on it (can't figure out which one now) that has the comment: //I don't know why you need another, but you do Or something along those lines. I don't have a renderer that's going bonkers right now (the one I was having trouble with most recently I ended up rebuilding in techne upside down because it refused to turn around properly).
IPS spam blocked by CleanTalk.