Everything posted by Draco18s
-
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.
-
[1.7.10] [Solved] Crafting with specific leaves
It's called metadata. new ItemStack(Blocks.leaves, 1, meta)
-
Ender Pack
Ah, yes. That would be better in this case.
-
Ender Pack
You need to save the information to the item stacks's nbt
-
[1.7.10] player.addExperienceLevel(int);
It isn't literally called "sendAFuckingPacket" but yes.
-
[1.7.10] player.addExperienceLevel(int);
MainMod.networkHandler.sendAFuckingPacket()
-
[1.7.10] Trying to scale an item with a custom IItemRenderer
Call != method
-
[1.8] Frustrating Missing Textures
....you mean like length() - 5?
-
[1.8] Model/Texture Problems (blocks, items, GUI-es)
I apologize, I'm on a tablet and didn't see the link. Edit: For the love. Read your fucking error. distillery#inventory not found. What so I find when I look at your distillery json? No inventory definition. Also, your package layout it terrible. Your block classes aren't in ijat.blocks, they're in ijat.ctafting
-
[1.8] Model/Texture Problems (blocks, items, GUI-es)
...and where are your json files?
-
Rotating quad based on camera position and direction along only one axis
Its just vector math. This is the closest code I have that does what you need, but it is going to be in a different language. http://answers.unity3d.com/answers/1065843/view.html You'll want to look at the function starting on line 108, which takes in two Vec3 positions and calculates a camera facing quad.
-
[SOLVED][1.7.10] Bizarre Texture Crash
Do you have any custom TextureAtlasSprite classes?
-
Coding From 1.6.4 To 1.8
A lot has changed, yes, what I was getting at was that starting a mod hasn't changed a whole lot. You're going to have to relearn a lot of systems, but as long as you know what you're doing you can figure out where your knowledge breaks down and how to find the new answer.
-
Coding From 1.6.4 To 1.8
Well, mcp is basically gone, but getting stayed is still somewhat the same. 1) download Forge and unzip into a folder 2) install; either use the command line or create a batch file. Run gradlew setupDecompWorkspace eclipse 3) point Eclipse at the created eclipse folder A base mod file will look 90% the same, except for the annotations and event names.
-
Getting a Player to move exactly 1 Block by holding FORWARD
Well, if the player is moving in the negative-X direction.....
-
Getting a Player to move exactly 1 Block by holding FORWARD
Because the position is a float, using == will almost never be true. It especially doesn't help that timing will be less than perfect, so you need to have a tolerance allowance. It would be better to check for having passed the desired location and aborting as soon as it is detected. If you've ever tried to position yourself exactly in the center of a block yourself, you would know how tricky it is to be exact with key input.
-
[1.8] Use Item or ItemGlassBottle/ItemBucket?
The difference is called a subclass. The reason we use Item and Block is because we don't actually care about the subclass 99% of the time, so it makes things cleaner. The only reason you'd use ItemBucket (etc) is if you are doing a lot of casting from simple type to specific subtype. For example if you really really wanted to you could just use Object instead. But you'll find yourself doing a whole lotta casting.
-
[1.8] Use Item or ItemGlassBottle/ItemBucket?
If you are referring to the declaration in your main mod file, Item is sufficient. It is unlikely you will be directly referencing the ItemBucket methods not present in Item anywhere in your code except inside your bucket. But if you do, you can just cast it to a local variable anyway.
-
[1.7.10] Getting virtual chest inventory
Then I'm confused. What are you trying to accomplish? And I don't mean "get the virtual chest GUI."
-
[1.8] World's UUID?
I don't think worlds (saves) have UUIDs. Why?
-
Minecraft not launching, instead giving me these scripts(?)
Gosh.
IPS spam blocked by CleanTalk.