Everything posted by Draco18s
-
[1.7.10] Why can't access variable changes from inside !this.worldObj.isRemote
Vanilla has unique packets for every tile entity and is not appropriate for mod added tile entities.
-
[1.8][off topic] how do you put a mod in pages like 9minecraft or minecrafteo
Pretty much. All my modding efforts have resulted in $80. Which is an order of magnitude less than I've made from a board game I helped design in two days. And that is about 3 orders less than my actual jobs have paid.
-
[UNSOLVED]Strange things happen with my energysystem[1.8]
*Facepalm* You get the data out of the packet the same way it got in. Its not fucking magic.
-
[1.8] Bounding box for multiblock model
Whichever you want to. It doesn't really matter a whole lot, but the invisible blocks method might be cheaper in terms of rendering.
-
[UNSOLVED]Strange things happen with my energysystem[1.8]
It works, but the point is you don't need a new variable to hold the information. Just use the same variable you already had. You're not going to break anything.
-
How to spawn a new FallingDiamondBlock
You shouldn't need to extend BlockSand. My guess is that you're trying to spawn the entity client-side, as opposed to server-side.
-
[1.8] Bounding box for multiblock model
I wouldn't use a bounding box greater than a single cube (with slight exceptions, such as a fence, which is why bounding boxes can be up to about 1.5 blocks tall, more than that and the game caps the height, though I am unsure of the precise value. Width/depth are likewise capped to a single block). What you want to do is something like the bed or door, where the primary block spawns the second (and in your case, third) blocks when placed, and if any of them are broken, it breaks all of them.
-
How to make Rotated Bounding boxes proper
Axis Aligned Bounding Boxes are aligned to the axis for a reason. All entity bounding boxes are axis aligned as well. You are having to delve deep into code that few people look at, much less touch, and do things that don't make a whole lot of sense. You're going to have to work on the problem by yourself for the most part. Off hand though, it appears that whatever angle of rotation you're using isn't consistently calculated from one draw frame to the next.
-
[1.8] making semi transparent block
The problem is in your json file. Take a look at the json files for colored glass.
-
[1.8] making semi transparent block
What is the problem that you are having?
-
How to make Rotated Bounding boxes proper
1) Why are you doing this? 2) You posted no code.
-
1.7.10 onItemRightClick problems
Make a new constructor that only takes one argument. Done. Magic!
-
[1.7.10] What happens if I forget @Override?
Ugh. Seriously people, @Override is an IDE annotation. It makes Eclipse (or IntelliJ) make sure that the function you have marked as override is actually overriding a function in the superclass hierarchy. "Not putting the annotation" will do jack shit other than not alerting you to potential problems.
-
Prevent damage?
But you didn't even change the thing I pointed out.
-
[SOLVED] [1.8] Making a Sword hit faster
That doesn't speed up the animation, it just lets the target get hurt immediately.
-
Prevent damage?
Current code posted is identical to old code. Anyway, your inability to kill the fire probably has to do with the fact that onItemRightClick is client-side-only. When I was doing this kind of stuff, I had to use packets to properly make right-click functionality work correctly.
-
What method renders the outline of blocks
Look for where DrawBlockHighlightEvent is dispatched. Work backwards from there (unless you just need to run code when the event happens, in which case, ta da! that's what you were looking for).
-
[1.8] Resource folder not showing up
Huh. Weird. Haven't run into that before, but I've also never created an asset directory with that name. (Good thing most of the asset directory names are arbitrary!)
-
how not to include a class into the resulting jar when building with gradle?
*Giggle* Groovy's site says that Groovy has a "flat learning curve" and if they knew what a learning curve actually was, they'd realize that "flat" is not how to describe a curve. Or more specifically, that it's a function f(x) where x is the number of minutes spent and f(x) is skill obtained. A flat result from f(x) means that it's never approaching 1, aka mastery. http://english.stackexchange.com/questions/6209/what-is-meant-by-steep-learning-curve/6226#6226 They should have used the phrase "easy to learn."
-
[1.8] Resource folder not showing up
Select the assets folder in the Eclipse project view, hit F5
-
Controlling direction of Large Fireball projectile [SOLVED]
Vec3 vec = entityPlayer.getLookVec(); //Magic
-
Prevent damage?
Sigh. Do you know what those 1s being passed to the constructor mean? No, clearly you don't. They're the entity's starting position. EntityLightningBolt Lightning = new EntityLightningBolt(world, Coord.blockX,Coord.blockY,Coord.blockZ); Amzanig!
-
Controlling direction of Large Fireball projectile [SOLVED]
The player's look vector.
-
[UNSOLVED]Strange things happen with my energysystem[1.8]
1) ok, wasn't arbitrary. I still don't think you need to make the class abstract, but whatever. 2,4) Mmm...copy-pasta.. 3) this method makes me cry. And it will crash a dedicated server. Good job. So add one yourself. It's got an update function, hasn't it? You can create properties yes? You can increment a counter in the update function, no? Bloody freaking magic that is.
-
Controlling direction of Large Fireball projectile [SOLVED]
Exactly what it says on the tin.
IPS spam blocked by CleanTalk.