Hexeption / MCP-Reborn

MCP-Reborn is an MCP (Mod Coder Pack) for Minecraft for making modded clients and researching its code. (1.13-1.20.1)
Other
934 stars 124 forks source link

Idk where you would do this so im sorry #17

Closed August2211 closed 4 years ago

August2211 commented 4 years ago

Well basically my friend wants to make a map and needs a datapack but i read that code generated by this tool cannot be published so i just wanted to request if u could make an exception if i give all credits of the datapack to you

August2211 commented 4 years ago

also got no setup file?

MGW14 commented 4 years ago

This was never made for datapacks. You are decompiling Minecraft to change the whole game. A datapack is just like a mod but easy. If you don't know much about Gradle/w or Java then search for something else.

Here we are "hacking" or "modifiying" the game to add features that mojang didn't think of. A datapack is a line of commands being executed one after each other.

August2211 commented 4 years ago

ah oke ty

August2211 commented 4 years ago

well now that we are at it do you know why that it says collection does not contain a main type when trying to run it?

MGW14 commented 4 years ago

Can you send me a screenshot?

August2211 commented 4 years ago

image

August2211 commented 4 years ago

Switched to eclipse couldn't figure out intellij

MGW14 commented 4 years ago

Did you build the Project using Gradle? If not run ./gradlew.bat genEclipseRuns eclipse in the folder your project is

August2211 commented 4 years ago

mean this? image

MGW14 commented 4 years ago

Ye and No. Shift-Rightclick and then select Open Power-Shell. Then type in the Command from above. Oh and btw are you german? bc your name

August2211 commented 4 years ago

cant open power-shell

MGW14 commented 4 years ago

Uhhh.. Shift-Rightclick on any point in the explorer where no file is

August2211 commented 4 years ago

Option doesn't pop up

MGW14 commented 4 years ago

Ok other option... In Eclipse at the bottom is a popup called Gradle Tasks. Click on that and run following tasks in order: "genEclipseRuns" "eclipse" and "setup" then you should be ready togo

August2211 commented 4 years ago

image

MGW14 commented 4 years ago

Subfolder ide and subfolder mcp

August2211 commented 4 years ago

couldn't find it just did nvm

August2211 commented 4 years ago

2 errors

August2211 commented 4 years ago

image

MGW14 commented 4 years ago

It is one error. In Run Build - Run tasks failed can you open more suberrors?

August2211 commented 4 years ago

nop

August2211 commented 4 years ago

just the one did all of the 3 setups

August2211 commented 4 years ago

it worked this time tho no error

August2211 commented 4 years ago

Still same error about a main or whatever

Hexeption commented 4 years ago

Please just use IntelliJ

MGW14 commented 4 years ago

Can you send one Message at a time? This isn't WhatsApp. If you still get this Message i can't help you out. For me it works in eclipse but go use IntelliJ it is easy aswell.

August2211 commented 4 years ago

Hexeption idk how IntelliJ works though

August2211 commented 4 years ago

and apparantly not eclipse anymore either

MGW14 commented 4 years ago

Just so you know this error occurs because there is no minecraft client. You have to BUILD it first. Using: ".\gradlew.bat genEclipseRuns eclipse setup" Then open it in eclipse. Try to refollow these steps and close the issue

August2211 commented 4 years ago

BUILD FAILED in 0s 2 actionable tasks: 2 executed

MGW14 commented 4 years ago

How is this going to help me????

August2211 commented 4 years ago

idk?

MGW14 commented 4 years ago

I'm Sorry i can't help you with this issue