Giter VIP home page Giter VIP logo

externaltweaker's Introduction

-------------------------------------------
Source installation information for modders
-------------------------------------------
This code follows the Minecraft Forge installation methodology. It will apply
some small patches to the vanilla MCP source code, giving you and it access 
to some of the data and functions you need to build a successful mod.

Note also that the patches are built against "unrenamed" MCP source code (aka
srgnames) - this means that you will not be able to read them directly against
normal code.

Source pack installation information:

Standalone source installation
==============================

Step 1: Open your command-line and browse to the folder where you extracted the zip file.

Step 2: Once you have a command window up in the folder that the downloaded material was placed, type:

Windows: "gradlew setupDecompWorkspace"
Linux/Mac OS: "./gradlew setupDecompWorkspace"

Step 3: After all that finished, you're left with a choice.
For eclipse, run "gradlew eclipse" (./gradlew eclipse if you are on Mac/Linux)

If you preffer to use IntelliJ, steps are a little different.
1. Open IDEA, and import project.
2. Select your build.gradle file and have it import.
3. Once it's finished you must close IntelliJ and run the following command:

"gradlew genIntellijRuns" (./gradlew genIntellijRuns if you are on Mac/Linux)

Step 4: The final step is to open Eclipse and switch your workspace to /eclipse/ (if you use IDEA, it should automatically start on your project)

If at any point you are missing libraries in your IDE, or you've run into problems you can run "gradlew --refresh-dependencies" to refresh the local cache. "gradlew clean" to reset everything {this does not effect your code} and then start the processs again.

Should it still not work, 
Refer to #ForgeGradle on EsperNet for more information about the gradle environment.

Tip:
If you do not care about seeing Minecraft's source code you can replace "setupDecompWorkspace" with one of the following:
"setupDevWorkspace": Will patch, deobfusicated, and gather required assets to run minecraft, but will not generated human readable source code.
"setupCIWorkspace": Same as Dev but will not download any assets. This is useful in build servers as it is the fastest because it does the least work.

Tip:
When using Decomp workspace, the Minecraft source code is NOT added to your workspace in a editable way. Minecraft is treated like a normal Library. Sources are there for documentation and research purposes and usually can be accessed under the 'referenced libraries' section of your IDE.

Forge source installation
=========================
MinecraftForge ships with this code and installs it as part of the forge
installation process, no further action is required on your part.

LexManos' Install Video
=======================
https://www.youtube.com/watch?v=8VEdtQLuLO0&feature=youtu.be

For more details update more often refer to the Forge Forums:
http://www.minecraftforge.net/forum/index.php/topic,14048.0.html

externaltweaker's People

Contributors

bartz24 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

externaltweaker's Issues

Right hand selection messed up

Clicking on any entry in the right hand column and then clicking the button labeled "Add New Recipe Using Selected Type" doesn't add the selected entry but the entry 2 above the selected one. Forge *.2759

String arguments default to BLANK

Currently when adding a recipe type with string arguments Exttweaker fills in BLANK sometimes this also happens when modifying a recipe. This causes crashes. Can you change the default to ""?

File saving does not work perfectly on Linux

ExternalTweaker's file saving seems to be hard-coded for Windows.
Which is a serious issue for Linux users.
On linux it saves the script as "scripts\ScriptName.zs"
i DO NOT mean as "ScriptName.zs" in the "scripts" directory.
But it saves "scripts" as part of the scripts actual file name.
And saves it in the game directory.
I must request that you change it to users like me actually get to pick the exact save location,
instead of only being able to choose the directory to save in.
Screenshot

mods.contenttweaker.MutableItemStack.amount(int) is added 4 times, skewing all entries below it.

This entry appears twice in a row, and when you choose the two entries below those (anyAmount and AnyDamage) it still puts "mods.contenttweaker.MutableItemStack.amount(int)" into the script. So from that point onward down the list. you have to find the script entry you want, and click two rows down.

Btw.. GREAT MOD. I dont think ive been as excited to find a mod in years, as I did when i found this one. :)

cant run from in game

Good afternoon, I added this to a 1.10.2 pack I'm working on. I followed the steps, (download and put into mods folder) I tried the command /extTweaker in game and nothing happened. I'm not sure if I'm doing something wrong..

Stuff generating in world?

It seems stuff is generating in the world from this mod. At least TOP says it is. It's palm wood (or something, only was able to get a quick glance) and it's got the pink and black checker pattern. Why is your mod adding items/blocks? I hope there is a config to disable this as it is annoying. I may have to just go back to typing my scripts if I can fix this problem.

Recipe created with ExtTweaker fails to import when reopening

Hi there, I'm using the standalone version External+Tweaker+Program+0.3.jar

I saved all scripts to end up with this recipe:
mods.evilcraft.BloodInfuser.addRecipe(<minecraft:bucket>, <liquid:distilledwater> * 1000, 0, <forge:bucketfilled>.withTag({FluidName: "distilledwater", Amount: 1000}), 40, 0);
And I got a script loading error. It looks like it's objecting to the presence of NBT data from my testing.

My ExtTweakerData file is attached.
ExtTweakerData.etd.zip

Support for WeightedItemStack

The editor does not support WeightedItemStack which is used in Thermal Expansion recipes (I have ModTweaker installed).

[1.12.2] Suggested Enhancement

Working with Avaritia recipes, i toy around with them ingame untill i find what im looking for and wondering if its possible for the exttweaker to read whats in a crafting grid an export it somehow, as this would then save me having to add everything

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.