Everything posted by Draco18s
-
Maven Repository Files 404?
Where did I get that URL? Here: http://files.minecraftforge.net/maven/net/minecraftforge/forge/index_1.8.8.html It appears to be fixed now.
-
[1.7.10] [SOLVED] Having trouble with glTranslateF
The reason your code doesn't do anything, HappyKiller, is because you push the matrix, create an offset, then pop the matrix all before the event notification has finished executing, so when the actual render call is made, there are no changes.
-
When it is safe to add ITickableSound?
TickEvent.ClientTickEvent I push all of my ITickableSounds into a ConcurrentHashMap, which is threadsafe, then when the tick event happens, I iterate over it and start the sounds, and remove them from the map. (I should probably be using a concurrent array of some sort, but I'm not sure which variety is appropriate).
-
How to register multiplayer PlayerAttackPlayer event?
http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571567-forge-1-6-4-1-8-eventhandler-and I found that by googling "Forge events." Decent tutorial on how to use events.
-
Getting texture from block and adding overlay
Ok, I corrected it to "planks oak" but that's not the thing that cause the crash, it should load without loading that texture, the problem is in TextureAtlas class Unfortunately, whatever the problem is, the error handling is not there to tell us what's wrong. You're going to have to do some stack trace digging and examining what it is crashes, why, where that value came from, and work backwards. Took me weeks to figure a couple of errors out myself that way, having to do with the various data arrays for the mipmaps.
-
MultiTool Problems. [SOLVED]
I'll also point out that that one parameter you're passing is the variable you're using to hold the tool item, which at that point, it is null.
-
Maven Repository Files 404?
I just went to try and download a version of Forge for 1.8 or 1.8.8 (don't care which, as I'll be using it in dev to poke at something that was added in a 1.8 snapshot) and every single file from the change log, to the installer, to the MDK for every single version of Forge was 404. Like this one: http://files.minecraftforge.net/maven/net/minecraftforge/forge/11.15.0.1655/forge-1.8.8-11.15.0.1655-mdk.zip Did something break somewhere?
-
First problem with my first mod: Chat Check and Send; Bot
Could you please explain what you mean by that? Minecraft.getMinecraft().thePlayer is the client side local player. If the bot tries to access this it will simply access itself. If the code is running on a server, it will simply crash. That's it, server's 404. Game over man, game over.
-
How do you locate minecraft assets?
The hell are you trying to do?
-
First problem with my first mod: Chat Check and Send; Bot
More accurately: Minecraft.getMinecraft().thePlayer is the bot, not the other person.
-
How do you locate minecraft assets?
That's where the jar file lives, you can extract assets (textures) from it. I don't think the .java files exist anywhere, I think its just the compiled .class files and attached javadoc.
-
How do you locate minecraft assets?
C:\Users\[username]\.gradle\caches\minecraft\net\minecraft\minecraft\1.7.10
-
Help making block orientable
- Help making block orientable
Hesus Frakking Christiana. I want the block class, that's the model json. This, I want this: BlockTest- [1.8][SOLVED] setInventorySlotContents getting the wrong item
Yep. You could also pass CardboardBoxSpaceShip as long as it also implements IVehicle.- Help making block orientable
You'd have to post your block code.- [1.8][SOLVED] setInventorySlotContents getting the wrong item
Interfaces exist to allow multiple objects with different inheritance hierarchies to be treated as "the same" due to the contract granted by the interface.- Getting texture from block and adding overlay
Ok, so I poked around. You are using it correctly, however, the texture name is not "plank_oak" its "planks_oak"- Help making block orientable
That's his main class, not his block class.- Getting texture from block and adding overlay
That suggests that "plank_oak" is not the correct texture string. The standard texture alas would throw one of those "texture not found: minecraft:plank_oak" messages, but in creating a custom loader, that error handling got lost. I'll take a look at the strings I pass. It might need to be "minecraft:plank_oak"- Getting texture from block and adding overlay
I think I'm the only one who has used the custom sprite loader, so I'm the only one that knows how it works, and even that knowledge is questionable. It is so much easier to just render the block twice and accept the crappy break particles.- Getting texture from block and adding overlay
AFAICT something in the texture atlas load method is borked. This is an incredibly difficult error to solve, as the point at which the program discovers that there's a problem is long after our code has run, or deep in the call stack. I don't see the problem off hand. I'll have to get you my block later, I'm not home.- Base mod for 1.8
http://www.minecraftforge.net/forum/index.php?action=profile;u=5 And don't bug him unless you have to. He does not maintain the content of the wiki pages, so there's no point in complaining directly to him, he will tell you "it is a wiki, if the information is wrong or missing, fix it." The page says to "view the page source to see a1.8 proxy" just above the section you quoted. I don't know why the "Proxy Classes" section is commented out, but you can view it if you click on one of the edit buttons.- [1.8] IndexOutOfBoundsException for #transferStackInSlot
Pretty sure that the 4 armor slots do not have inventory slot numbers. Or at least, in this context they don't appear to. I see 37: 1-9 (hotbar), 10-36 (inventory), 37 (your backpack).- [1.8][SOLVED] setInventorySlotContents getting the wrong item
Why not create a getMaxWeight() method to ItemBackpack, get the item, cast it, then ask the backpack what it's max weight is. - Help making block orientable
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.