minecraft-forge

Execution failed for task ':compileJava'. - Issue 3 in this series

若如初见. 提交于 2019-12-13 20:12:23
问题 Before this question gets closed for already being asked, as far as I can see it is a vague and common error so this is different from other questions. I fixed the error in my previous post by installing a slightly different version of Forge, but have now reached Step 5 of this tutorial. When I use .\gradlew build with the example mod, everything seems to work fine (although I cannot find the console output) But when I edit the mod to how the author describes, I get many errors. The example

Minecraft Forge Custom Player Command Issues

别来无恙 提交于 2019-12-13 19:26:45
问题 I am trying to make a new command for the first time and was following this tutorial which is slightly old but I believe will still work. After finishing it I tried running my mod and everything ran fine but my command did not exist. Here is my code: public class MainRegistry { @EventHandler public void serverStart(FMLServerStartingEvent event) { MinecraftServer server = MinecraftServer.getServer(); ICommandManager command = server.getCommandManager(); ServerCommandManager manager =

Creating and overriding Java Enum Objects at Runtime [GregTech/minecraft]

牧云@^-^@ 提交于 2019-12-12 05:25:11
问题 I'm trying to work with this enum and add new materials. Anything not already removed has hard dependencies elsewhere, even still, this is nearly at the java byte limit according to the mods author so there isn't really a lot of room to work with anyway. GregoriousT mentioned "There is one way. Overmind hacked the Enum using Reflection to add his own stuff. No Idea how he did that and also no idea how long he takes to reply to things if you ask him." Enum we're talking about: http://pastebin

Minecraft Forge: Using correct Join Game listener for setLocationAndAngles

拟墨画扇 提交于 2019-12-11 12:36:49
问题 Using Forge 1.8.9 in Eclipse (Mars.1 Release (4.5.1)) in local development environment. The goal is to set a player's location to a predetermined xyz every time they join (or re-join) a world. So if they quit the game, but then come back to the world, they will start in the same location as determined by the code below instead of wherever they left off. Basically, it will work like a lobby, where players start in the same place each time. The code works using the chat component (e.g. the chat

Failed to apply plugin [id 'forge']

我只是一个虾纸丫 提交于 2019-12-11 04:18:36
问题 This is a continuation of this question My initial issue has been solved, but a new one came after. Following the tutorial mentioned in it, having solved a few errors, I now get an error when I try to run .\gradlew tasks: FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\benji\MinecraftWorkspace\forge-1.7.10-10.13.4.1614-1.7.10-src\build.gradle' line: 18 * What went wrong: A problem occurred evaluating root project 'forge-1.7.10-10.13.4.1614-1.7.10-src'. > Failed to apply

Java Using OpenGL Stencil to create Outline

风流意气都作罢 提交于 2019-12-10 20:02:52
问题 I'm trying to render an outline of an object over the top of it but I'm having some difficulties. I'm not too good with OpenGL so most of it was from following tutorials. The desired effect is supposed to be something like this: But this is the outcome at the moment: The code I'm using to do this is: GL11.glPushAttrib(GL11.GL_ALL_ATTRIB_BITS); GL11.glEnable(GL11.GL_LIGHTING); GL11.glClearStencil(0); GL11.glClear(GL11.GL_STENCIL_BUFFER_BIT); GL11.glEnable(GL11.GL_STENCIL_TEST); GL11

Where to start with creating Minecraft client mods [closed]

核能气质少年 提交于 2019-12-03 01:25:12
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . I've looked all over the net and YouTube and for some reason this is some top secret information or something but I'm trying to find out where to get started on making a Minecraft client mod, preferably something that can be put into a pack like feed the beast or technicpack

Where to start with creating Minecraft client mods [closed]

╄→尐↘猪︶ㄣ 提交于 2019-12-02 14:43:47
I've looked all over the net and YouTube and for some reason this is some top secret information or something but I'm trying to find out where to get started on making a Minecraft client mod, preferably something that can be put into a pack like feed the beast or technicpack for simplicity for users but either way is fine. How would I go about creating a mod? I'm familiar with eclipse and java programming itself but I don't know where to start writing a plugin. I've tried setting up Minecraft Forge but for some reason it is so incredibly confusing and very messy. can't I just include some

Add external jar in gradle

房东的猫 提交于 2019-11-30 01:48:17
问题 How can I add an external library in gradle? My build.gradle contains: buildscript { repositories { mavenCentral() maven { name = "forge" url = "http://files.minecraftforge.net/maven" } maven { name = "sonatype" url = "https://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:1.1-SNAPSHOT' } } My root folder is /FORGE/ . I want to add /FORGE/build/libs/spigot.jar as a dependency. 回答1: As explained in the documentation:

Intellij IDEA Maven Import problems

佐手、 提交于 2019-11-25 22:46:37
问题 I wanted to switch to IntelliJ for forge modding (minecraft). When I do what they are saying to do on internet, I get a maven error... Unindexed remote maven repositories found. Disable... The following repositories used in your gradle projects were not indexed yet: http://files.minecraftforge.net/maven If you want to use dependency completion for these repositories artifacts, Open Repositories List, select required repositories and press \"Update\" button When I click update, it loads for