Everything posted by Choonster
-
Mod options menu inaccessible
Are you sure you're not thinking of the mods menu accessed from the main menu (i.e. before you load a world)? That should be functional in 1.7.10.
-
Compiling a mod which was decompiled
No, all of your dependencies should be handled through Gradle. Gradle will then add these to your IDE project. You can refresh the project from IDEA's Gradle window to update the project (including dependencies) from build.gradle.
-
Compiling a mod which was decompiled
You're trying to add project dependencies (things used by your mod) as buildscript dependencies (things used to build your mod).
-
Compiling a mod which was decompiled
Anything in the libs directory is automatically included as a dependency, you don't need to explicitly add it. Project dependencies (mods, libraries, etc.) go in the root dependencies block. Buildscript dependencies (like ForgeGradle) go in the buildscript.dependencies block. Maven and local dependencies don't affect each other at all. To add a dependency from Maven, add the Maven repository to repositories and add the dependency to dependencies . To add a local dependency, just add it to dependencies .
-
Compiling a mod which was decompiled
You can either add the mod as a dependency via Gradle (the MDK's build.gradle links these pages explaining how to do this) or add the source code of its API to your project (i.e. put it in src/api/java) and add the mod itself to your development environment's mods folder. Baubles is usually used the latter way.
-
Compiling a mod which was decompiled
That's the MCP mappings version used by 1.8.9 versions of Forge.
-
[SOLVED][1.8] Problem rendering textures in inventory
Are you registering ModItems with the name "moditems" ? If not, either change the model name to match the registry name of ModItems or call ModelBakery.addVariantName with "somelxmod:moditems" to load that model. The Grey Ghost has a guide to troubleshooting item rendering here, I suggest following it.
-
[SOLVED][1.8] Problem rendering textures in inventory
Minecraft only loads one model per Item by default: modid:itemRegistryName (where modid is your lowercase mod ID and itemRegistryName is the name you passed to GameRegistry.registerBlock / registerItem ). This resolves to either the assets/modid/models/item/itemRegistryName.json model or the model specified by the inventory variant of the assets/modid/blockstates/itemRegistryName.json blockstates file. To load one or more other models, you need to call ModelBakery.addVariantName with the names of the models in the same modid:name format as above. To specify which model to use for an Item , call ModelLoader.setCustomModelResourceLocation or ModelLoader.setCustomMeshDefinition in preInit.
-
[1.8.9] How to use the substitution alias system?
No, I haven't had any response.
-
Compiling a mod which was decompiled
Use bearded-octo-nemesis to deobfuscate a mod before decompiling it.
-
Mod options menu inaccessible
This menu was only made functional in 1.8.8-11.14.4.1579. I don't think it will be backported to 1.7.10.
-
How do you make messages appear
PlayerEvent.PlayerLoggedInEvent is fired on the server side when a player logs in. You can send a chat message to an ICommandSender (which EntityPlayer implements) using ICommandSender#addChatMessage .
-
Accidently removed libraries, where to find them?
Not too sure what's going on there since I don't use Eclipse myself. Try running gradlew cleanEclipse eclipse to delete the project and then regenerate it.
-
Accidently removed libraries, where to find them?
You need to recreate your IDE project. If you're using Eclipse, re-run gradlew eclipse . If you're using IDEA, open build.gradle with it and re-import the project.
-
[1.8.9] Rendering .json with special renderer [SOLVED]
Block#getRenderType is completely unrelated to TESR , except that returning -1 from it prevents the standard baked model from rendering. You should be able to have a baked model and a TESR for the same block.
-
[1.7.10]connect to server
Did you try looking at the ServerData class or how it's used? You should be able to navigate to it and find usages of it using your IDE.
-
[1.8.9] Rendering .json with special renderer [SOLVED]
Have you tried specifying the static model in the blockstates file as normal and then rendering the draining effect from your TileEntitySpecialRenderer ?
-
[1.7.10] Projectile Sound not Playing Properly
The volume you play the sound at using World#playSoundEffect determines how far around the position the sound can be heard. If you look at WorldManager#playSound (the server-side IWorldAccess implementation called by World#playSoundEffect ), you'll see that the S29PacketSoundEffect (the packet that plays the sound on the client) is sent to all players in a radius of 16 * volume blocks around the target position (minimum radius is 16).
-
ConcurrentModificationException, no Mods button
Is this message printed in the launcher log? If so, post that using Gist. When linking a Gist, either copy the URL from the address bar or select Share in the dropdown menu next to the URL textbox and copy that URL. The Embed URL is for embedding the Gist into a webpage.
-
Custom sound not heard by other players
World#playSound does nothing on the server and plays the sound on the client. World#playSoundAtEntity , World#playSoundToNearExcept and World#playSoundEffect send a packet to the appropriate clients telling them to play the sound and do nothing on the client.
-
Modded Minecraft 1.7.10 crashes during loading
Minecraft ran out of memory. Give it more by increasing the number in -Xmx1G (1G = 1 GB) in your launcher's JVM arguments.
-
[1.8-11.14.4.1563] How do I implement logging?
I'm not too sure what's going wrong. Can you access classes from other referenced libraries (e.g. com.google.common.collect.ImmutableSet from Guava or org.apache.commons.lang3.ArrayUtils from Apache Commons)?
-
[1.8] Editting Overworld Caves
Is your event handler being called? Is your cave generator being called?
-
[1.8-11.14.4.1563] How do I implement logging?
Run it in the directory where build.gradle is.
-
[Solved] [1.8.9] addinformation() and getSubItems() name clash issue
1.8.8 added generics to vanilla code. The OP has the correct method signatures. Edit: The title says 1.8.9, but the OP is actually using 1.8; so there aren't any generics.
IPS spam blocked by CleanTalk.