Giter Site home page Giter Site logo

minetweaker3's People

Contributors

bculkin2442 avatar fluffle avatar jaredlll08 avatar skaviouz avatar skydark avatar yulife avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minetweaker3's Issues

Could not resolve minecraft : iron_ingot (1.7.10)

I was going to test somethings in the proper game, but I was havin errors so I installed a fresh copy of 1.7.10, then installed the latest forge for it. Installed MineTweaker3, (the latest MineTweaker3-1.7.10-3.0.1.jar) (from the topic)(just MT3), and went to do a test script. This is with MT3 as the only mod.

"recipes.addShaped(minecraft:fishing_rod,
[[minecraft:iron_ingot, minecraft:iron_ingot, minecraft:iron_ingot],
[minecraft:iron_ingot, null, minecraft:iron_ingot],
[minecraft:iron_ingot, null, minecraft:iron_ingot]]);"

But I'm just getting the could not resolve error.

FML Client Log:
http://puu.sh/9SNRC/ec8bf5d996.log

MT3 Log:
http://puu.sh/9SNZp/444953079e.log

MultiMC Log:
http://paste.ee/p/6esTl

Code not working

named the file in scripts minewteaker.hz, was originally a notepad doc, still is. CODE: recipes.addShapeless(gregtech:gt.metaitem.01:9032, [[TConstruct:material:19]]);
print "WAZZZUUPP!!"

Mod Tweaker doesn't work [SMP]

Hello !
First, MineTweaker version is 3.0.6 in jar name but in mcmodinfo version of mod is 3.0.3 u-U.
It's the same for Mod Tweaker.
And my bug repport, I think ;)
I play with Minecraft 1.7.10.
When I try to load Mekanism machine (crusher and enrichement chamber) custom recipe with Mod Tweaker on multiplayer server, I have an error:
[04:38:10] [Client thread/INFO]: [CHAT] Scripts reloaded
[04:40:15] [Client thread/INFO]: [CHAT] ERROR: ? - 6:3 > No such member: mekanism
[04:40:15] [Client thread/INFO]: [CHAT] ERROR: Error executing Mekanism.zs: null
Loading scripts
Also, when I tried to use your example, I had the same error :/
But, all recipes work in local world !
Recipe with problem can be found here: https://www.dropbox.com/s/d44gusln9hju173/Mekanism.zs
I use: Forge 10.13.0.1207 but I tested too wither Forge 10.13.0.1199
MineTweaker 3.0.6 (or 3.0.3, I don't kown :/ )
Mod Tweaker 0.5d (I think)
Mekanism V 7.0.0.75
But, Good Job for your mod, it's awesome ! \0/
Thank You !
Bye !
Mino.

Enhancement - Show ingame errors to selected persons only

I apologize if this is a thing already. Searched through the Wiki and can't seem to find anything about it.

In MT2, you could set a player name to only see errors and messages. Right now, when I reload a script in game, everyone can see the error message.

It would be hard using the scripts, as there is no Main script that gets run first. How about a small config file in the config dir to assign the name?

1.7.10 am I missing something?

I was trying to use an array but I kept getting something to do with it not finding the method, which normally I understand, but this was saying something about not finding any[] so I decided to update my dev environment from the 1.7.2 version I grabbed a week ago to see if that helped, Now when I try to 'test' the scripts. (Note this is with the version on this github, the errors of course may not occur with the built version), however these were working prior. I now always get:

ERROR: script.zs - 4:17: Could not resolve <minecraft : planks>
ERROR: script.zs - 4:37: Could not resolve <minecraft : fishing_rod>
ERROR: script.zs - 5:20: Could not resolve <AWWayofTime : reinforcedSlate>
ERROR: test.zs - 6:19: Could not resolve <minecraft : planks>
ERROR: test.zs - 6:44: Could not resolve <minecraft : fishing_rod>
ERROR: test.zs - 6:69: Could not resolve <minecraft : fishing_rod>

Did the syntax change or something? Or have I messed up the development environment?

Script I'm using:

import mods.bloodmagic.Altar;
import mods.bloodmagic.Alchemy;

Altar.addRecipe(<minecraft:planks>, <minecraft:fishing_rod>, 3, 500);
Altar.removeRecipe(<AWWayofTime:reinforcedSlate>);
Alchemy.addRecipe(<minecraft:planks>, 50, [<minecraft:fishing_rod>, <minecraft:fishing_rod>], 10);

Code:
https://github.com/joshiejack/ModTweaker/blob/1.7.2/src/main/java/modtweaker/bloodmagic/BloodAltar.java

As for the initial error I was getting, I'm now getting this
ERROR: test.zs - 6:1 > a method available but none matches the parameters (any, int, any[], int)
From the Alchemy Stuff above, what am I doing wrong?
Code:
https://github.com/joshiejack/ModTweaker/blob/1.7.2/src/main/java/modtweaker/bloodmagic/Alchemy.java

Where as before it was something along the lines of(can't quite remember, probably wasn't that exact thing, but it was similar).
ERROR: test.zs - 6:1 > a method available but none matches the parameters (minetweaker.item.IItemStack, int, any[], int)

From looking at the example ic2, i seem to be calling it correctly in the script as well as in the code. So I'm not entirely sure what's going on here.

[bug] Errors with NBT specification (and more)

My script is not working, even though what I have done is in the same format as the wiki.
Here is the erroring part:

val blazeessence = pick.onlyWithTag({display: {Name: "Blaze Essence"}});

The wiki says that this is perfect, but I then get this error when using /minetweaker reload:

2014-08-10 15:52:59 [INFO] [STDERR] java.lang.IllegalArgumentException: value minetweaker.item.IIngredient
2014-08-10 15:52:59 [INFO] [STDERR] at org.objectweb.asm.ClassWriter.a(Unknown Source)
2014-08-10 15:52:59 [INFO] [STDERR] at org.objectweb.asm.MethodWriter.visitLdcInsn(Unknown Source)
2014-08-10 15:52:59 [INFO] [STDERR] at org.objectweb.asm.MethodVisitor.visitLdcInsn(Unknown Source)
2014-08-10 15:52:59 [INFO] [STDERR] at stanhebben.zenscript.util.MethodOutput.constant(MethodOutput.java:79)
2014-08-10 15:52:59 [INFO] [STDERR] at stanhebben.zenscript.type.ZenTypeAny.compileCast(ZenTypeAny.java:201)
2014-08-10 15:52:59 [INFO] [STDERR] at stanhebben.zenscript.expression.ExpressionAs.compile(ExpressionAs.java:33)
2014-08-10 15:52:59 [INFO] [STDERR] at stanhebben.zenscript.expression.ExpressionArray.compile(ExpressionArray.java:64)
2014-08-10 15:52:59 [INFO] [STDERR] at stanhebben.zenscript.expression.ExpressionJavaCallVirtual.compile(ExpressionJavaCallVirtual.java:47)
2014-08-10 15:52:59 [INFO] [STDERR] at stanhebben.zenscript.statements.StatementExpression.compile(StatementExpression.java:21)
2014-08-10 15:52:59 [INFO] [STDERR] at stanhebben.zenscript.ZenModule.compileScripts(ZenModule.java:122)
2014-08-10 15:52:59 [INFO] [STDERR] at minetweaker.runtime.MTTweaker.load(MTTweaker.java:151)
2014-08-10 15:52:59 [INFO] [STDERR] at minetweaker.MineTweakerImplementationAPI.reload(MineTweakerImplementationAPI.java:375)
2014-08-10 15:52:59 [INFO] [STDERR] at minetweaker.MineTweakerImplementationAPI$1.execute(MineTweakerImplementationAPI.java:56)
2014-08-10 15:52:59 [INFO] [STDERR] at minetweaker.MineTweakerImplementationAPI$12.execute(MineTweakerImplementationAPI.java:363)
2014-08-10 15:52:59 [INFO] [STDERR] at minetweaker.mc164.server.MCServer$MCCommand.func_71515_b(MCServer.java:117)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:88)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:759)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:728)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.network.packet.Packet3Chat.func_73279_a(SourceFile:49)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.network.MemoryConnection.func_74428_b(MemoryConnection.java:89)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:141)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.server.integrated.IntegratedServerListenThread.func_71747_b(IntegratedServerListenThread.java:109)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:691)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:175)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2014-08-10 15:52:59 [INFO] [STDERR] at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
2014-08-10 15:52:59 [INFO] [Minecraft-Client] [CHAT] ERROR: recipes.zs - 2:20 > could not find pick
2014-08-10 15:52:59 [INFO] [Minecraft-Client] [CHAT] ERROR: recipes.zs - 2:20 > cannot cast any[any] to any
2014-08-10 15:52:59 [INFO] [Minecraft-Client] [CHAT] ERROR: recipes.zs - 3:20 > could not find pick
2014-08-10 15:52:59 [INFO] [Minecraft-Client] [CHAT] ERROR: recipes.zs - 3:20 > cannot cast any[any] to any
2014-08-10 15:52:59 [INFO] [Minecraft-Client] [CHAT] ERROR: Error executing recipes.zs: value minetweaker.item.IIngredient
2014-08-10 15:52:59 [INFO] [STDOUT] Received script data: 1272 bytes
2014-08-10 15:52:59 [INFO] [Minecraft-Client] [CHAT] Scripts reloaded
2014-08-10 15:54:35 [INFO] [STDOUT] Loading scripts
2014-08-10 15:54:35 [INFO] [STDOUT] MineTweaker: Loading oreDict.zs
2014-08-10 15:54:35 [INFO] [STDOUT] MineTweaker: Loading recipes.zs
2014-08-10 15:54:35 [INFO] [STDERR] java.lang.IllegalArgumentException: value minetweaker.item.IIngredient
2014-08-10 15:54:35 [INFO] [STDERR] at org.objectweb.asm.ClassWriter.a(Unknown Source)
2014-08-10 15:54:35 [INFO] [STDERR] at org.objectweb.asm.MethodWriter.visitLdcInsn(Unknown Source)
2014-08-10 15:54:35 [INFO] [STDERR] at org.objectweb.asm.MethodVisitor.visitLdcInsn(Unknown Source)
2014-08-10 15:54:35 [INFO] [STDERR] at stanhebben.zenscript.util.MethodOutput.constant(MethodOutput.java:79)
2014-08-10 15:54:35 [INFO] [STDERR] at stanhebben.zenscript.type.ZenTypeAny.compileCast(ZenTypeAny.java:201)
2014-08-10 15:54:35 [INFO] [STDERR] at stanhebben.zenscript.expression.ExpressionAs.compile(ExpressionAs.java:33)
2014-08-10 15:54:35 [INFO] [STDERR] at stanhebben.zenscript.expression.ExpressionArray.compile(ExpressionArray.java:64)
2014-08-10 15:54:35 [INFO] [STDERR] at stanhebben.zenscript.expression.ExpressionJavaCallVirtual.compile(ExpressionJavaCallVirtual.java:47)
2014-08-10 15:54:35 [INFO] [STDERR] at stanhebben.zenscript.statements.StatementExpression.compile(StatementExpression.java:21)
2014-08-10 15:54:35 [INFO] [STDERR] at stanhebben.zenscript.ZenModule.compileScripts(ZenModule.java:122)
2014-08-10 15:54:35 [INFO] [STDERR] at minetweaker.runtime.MTTweaker.load(MTTweaker.java:151)
2014-08-10 15:54:35 [INFO] [STDERR] at minetweaker.MineTweakerImplementationAPI.reload(MineTweakerImplementationAPI.java:375)
2014-08-10 15:54:35 [INFO] [STDERR] at minetweaker.MineTweakerImplementationAPI$1.execute(MineTweakerImplementationAPI.java:56)
2014-08-10 15:54:35 [INFO] [STDERR] at minetweaker.MineTweakerImplementationAPI$12.execute(MineTweakerImplementationAPI.java:363)
2014-08-10 15:54:35 [INFO] [STDERR] at minetweaker.mc164.server.MCServer$MCCommand.func_71515_b(MCServer.java:117)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:88)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:759)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:728)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.network.packet.Packet3Chat.func_73279_a(SourceFile:49)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.network.MemoryConnection.func_74428_b(MemoryConnection.java:89)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:141)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.server.integrated.IntegratedServerListenThread.func_71747_b(IntegratedServerListenThread.java:109)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:691)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:175)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2014-08-10 15:54:35 [INFO] [STDERR] at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
2014-08-10 15:54:35 [INFO] [Minecraft-Client] [CHAT] ERROR: recipes.zs - 2:20 > could not find pick
2014-08-10 15:54:35 [INFO] [Minecraft-Client] [CHAT] ERROR: recipes.zs - 2:20 > cannot cast any[any] to any
2014-08-10 15:54:35 [INFO] [Minecraft-Client] [CHAT] ERROR: recipes.zs - 3:20 > could not find pick
2014-08-10 15:54:35 [INFO] [Minecraft-Client] [CHAT] ERROR: recipes.zs - 3:20 > cannot cast any[any] to any
2014-08-10 15:54:35 [INFO] [Minecraft-Client] [CHAT] ERROR: Error executing recipes.zs: value minetweaker.item.IIngredient

I've also noticed that OreDict names do not update when using /minetweaker reload (I use NEI and NEI Plugins to view them).

--EDIT--

Found this error. Part of my script:

recipes.addShaped(<item.unmatter>, [[item.extrautils:unstableingot:1, item.extrautils:unstableingot:1, item.extrautils:unstableingot:1], [item.extrautils:unstableingot:1, <tile.stone>, item.extrautils:unstableingot:1], [item.extrautils:unstableingot:1, item.extrautils:unstableingot:1, item.extrautils:unstableingot:1]]);

The error: ERROR: Error parsing recipes.zs:12 -- ) expected

If I move the text, the error stays on the same line - even with a different method. The error in the script itself was in a different line altogether.

--EDIT--

And now this: "] or , expected" when this is the affected line:

recipes.addShaped(item.ThaumcraftExtras:darkthaumium, [[item.factorization:dark_iron_ingot, item.factorization:dark_iron_ingot, item.factorization:dark_iron_ingot], [item.factorization:dark_iron_ingot>, item.ItemResource:2, item.factorization:dark_iron_ingot], [item.factorization:dark_iron_ingot, item.factorization:dark_iron_ingot, item.factorization:dark_iron_ingot]]);

Cannot remove furnace items

http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1290366-1-6-4-1-7-x-minetweaker-3-customize-your?comment=1001

Post 1:

Greetings! I'm using minetweaker 2.3.1 for 1.6.4. Here is the problem:

Example: 911:8 is Mithril ore, 28157 is Mithril ingot, and there is mithril dust

I've tried using furnace.remove(<28157>, 911:8); and furnace.remove(<28157>);

If i understood correctly, first should remove furnace recipe ore=>ingot, and second one both.

In log it says:

2014-08-18 17:22:18 [INFO] [MineTweaker] Removing the furnace recipe turning Mithril Dust into Mithril Ingot
2014-08-18 17:22:18 [INFO] [MineTweaker] Removing the furnace recipe turning Mithril Ore into Mithril Ingot

But still both recipes in vanilla furnace work...so what exactly i'm doing wrong?

P.S. Also as i understand there is no way in this version to remove thermal expansion recipes?

Post 2:

It's Metallurgy. All furnace recipe removal don't work for me, even iron. Also, maybe this is not right thread but i have similar issues with Modtweaker 0.3

I use something like mods.tconstruct.smeltery.removeMelting(911:7); where id:meta is ore, and for metallurgy ores it works, but for other ones don't (no errors still), i even tried removing melting recipes for all types of copper for example, still not working.

Basic recipes like some mod shaped crafting tools also bugs like that, sometimes work, sometimes not. Maybe this issue is because of oredict, i can't understand
This is full mod list that i'm configuring right now, if that helps https://docs.google.com/spreadsheets/d/1JFaOcmdokK0ZOaazKKEMpoaG9C4MtoccgD06-j0RDJA/edit?usp=sharing
There is client download so if you have time to help you can add something to EDmetallurgy.cfg and test why it's not working

/mt name Failure

[21:35:12] [Server thread/ERROR]: Couldn't process command
java.lang.ArrayIndexOutOfBoundsException: 1
at minetweaker.mc172.MineTweakerCommand.func_71515_b(MineTweakerCommand.java:227) ~[MineTweakerCommand.class:?]
at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:92) [z.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:731) [mx.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:710) [mx.class:?]
at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:37) [ie.class:?]
at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:9) [ie.class:?]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:197) [ef.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) [ms.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:644) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:531) [MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186) [bsk.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:670) [?:?]

[Feature Request] Allow creation/alteration/deletion of villager trades

I've recently started up my own private modpack, and I've been looking around for a way to tweak the available trades for any villager that will spawn during normal play. I can't find anything other than MCEdit or the new /summon command. I don't want to custom-tailor a villager, I want every villager to pull from an altered bank of available trades, if that makes any sense. In particular, I would like to convert any emeralds that can be bought or sold into metallurgy's coins. I believe they convert vanilla trades just fine, but any trades added by other mods aren't converted correctly by them. Normally I would just bring this up with them, but I'm also just thinking in general that being able to tweak villager trades would be a nice addition to minetweaker.

Personally, I'd be looking for a way to remove all existing trades (because why not), remove specific trades (either by finding trades that match the item(s) from either of the inputs, the output, or the every input/output), alter an existing trade (find the trade(s) using the method listed above, then instead of removing that trade, just alter one of the inputs/output), or completely add a new trade to a given villager type.

Considering no one else has done something like this yet, I don't know how difficult it is to gain access to the trades, let alone manipulate them; but it is something I'm very interested in seeing if it's not only possible, but easily doable.

transformDamage() duplicates item

Hi, I have the following code:

recipes.addShapeless(<minecraft:planks:0> * 3, [<minecraft:log:0>, <ForgeMicroblock:sawStone:*>.transformDamage()]);

What happens is, that one saw stays in the crafting field with 1 damage and another saw falls on the ground with two damage. This happens in the user crafting field as in any crafting table and with any saw.

Versions are MineTweaker3 3.0.6 / Forge 10.13.0.1200 / ForgeMultipart 1.1.0.300.

Can not rename Thermal Expansion block

I tried renaming Thermal Expansion's 'Tinker's Alloy Block' to 'Bronze Block'.
This is the line I use:
<2010:8>.displayName = "Bronze Block";
I also tried:
<tile.thermalexpansion.storage:8>.displayName = "Bronze Block";

Minetweaker.log outputs:
INFO: Translating tile.thermalexpansion.storage.bronze.name.name to Bronze Block

However, the block is still named 'Tinker's Alloy Block' in NEI and in-game.

Minecraft version: 1.6.4
Forge version: 9.11.1.965
MineTweaker version: 1.6.4-3.0.7
Thermal Expansion version: 3.0.0.7

Hide metadata items in NEI

When I tried hiding a specific item from the mod Applied Energistics, all items with that ID became hidden in NEI.

Code used:
#import mods.nei.NEI;

var processorGold = <4362:20>;
var advProcessorGold = <4362:18>;
var processorDiamond = <4362:21>;
var advProcessorDiamond = <4362:19>;

#NEI.hide(processorGold);
#NEI.hide(advProcessorGold);
#NEI.hide(processorDiamond);
#NEI.hide(advProcessorDiamond);

I also tried using the item IDs directly with the same result, every item with ID 4362 was hidden.

Minecraft version: 1.6.4
Forge version: 9.11.1.965
MineTweaker version: 1.6.4-3.0.7
CodeChickenCore version: 0.9.0.9
NEI version: 1.6.1.9
Applied Energistics version: rv14-finale3

String Array in Methods

Is there a technical reason for not supporting these? I'm currently working on letting you add thaumcraft aspects, and being able to do an array of Strings with something like

["aqua 1", "terrae 3"]

seemed like the easiest solution. edit: I guess I'll just do a normal String, And make my own array out of it, Which actually may be better than this xD, since it will be more readable >.<

[GregTech Support] - Boxing recipes

Is there a way on how to add a recipe for Boxing machine, to let it NOT consume the second item?

There are quite few recipes which are using for example "Schematic 3x3" item, which should not be consumed. But when I add a recipe for let's say Compressed Cobblestone (from Extra Utilities) with the Schematic, it is consuming it together with cobblestone.

Boxing.addBoxingRecipe(cobbleCompressed, cobblestone * 9, schematic3x3, 1, 1);

Also I run into little issue with Compressor recipes. Since Gregtech is taking the recipes for the IC2 compressor and using them in its own compressor, its not working when I put more items in the compressor. Again example with Compressed Cobblestone:

Compressor.addRecipe(cobbleCompressed, cobblestone * 9);

I need to put exactly 9 cobblestone to let the machine compress it. If I put there 10 or more at once, it will not process.

new problem/bug

new problem/bug

recipes.addShapeless(minecraft:stick * 3, [minecraft:stone_axe.transformDamage(4), ore:plankWood]);

i can only use it 1 time it takes Damage but i cant use it a 2 time

/minetweaker command not working

When I type /minetweaker in chat it gives me unknown command.
For some reason it is removing the command right after adding it.

minetweaker.log:

INFO: Adding command minetweaker
INFO: Removing command minetweaker

Crash when determining fuel values

Issue posted on the forum by access_denied: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1290366-1-6-4-1-7-x-minetweaker-3-customize-your?comment=1003

Hi StanH, I hate it to annoy someone or you, but I need your help.

I had this crash: CRASH REPORT and it could be that your mod or the mod "Quartz Plus" causes it. It seems also not so easy to fix, do you have any suggestions to resolve this problem?

Crash report link: http://pastebin.com/LC8tA9C3

Adding a recipe fails with spaces in minecraft name

The natura mod uses spaces in some item names. I don't know if there are any guidelines for the name, however I cannot change the recipes of those items.

recipes.addShapeless(<Natura:planks:8> * 2, [<Natura:Rare Tree:0>]);

Error:

ERROR: Natura.zs - 46:46: Could not resolve <Natura : Rare Tree : 0>

I will also file a bug at the natura mod.

// Edit: progwml6/Natura#154

Command to see ItemName + Meta for item held in hand

Would it be possible, and I appologize if its already there, to add a command that would give you the Item Name plus the metadata for the item you are holding in your hand.

I have done the name dump to the log file but it only dumps the names of the first item in the list even if there are more items with different metadata numbers.

Notepad++ User Define Language : ZenScript

This may be a bit out of scope. But it would be awesome if we could get a user-defined language for notepad++ with proper syntax colouring etc for zenscript. I'm not 100% familiar with the syntax, otherwise I would do this myself.

/minetweaker names Unknown Error

[11:43:21] [Server thread/ERROR]: Couldn't process command
java.lang.NullPointerException
at buildcraft.transport.ItemFacade.func_77653_i(ItemFacade.java:72) ~[ItemFacade.class:?]
at net.minecraft.item.ItemStack.func_82833_r(ItemStack.java:424) ~[abp.class:?]
at minetweaker.mc172.MineTweakerCommand.func_71515_b(MineTweakerCommand.java:122) ~[MineTweakerCommand.class:?]
at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:92) [z.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:731) [mx.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:710) [mx.class:?]
at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:37) [ie.class:?]
at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:9) [ie.class:?]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:197) [ef.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) [ms.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:644) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:531) [MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186) [bsk.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:670) [?:?]

Recipe removal not always working

Not all recipe removal works-for example, the simple command
recipes.removeShaped(minecraft:cake);
fails to remove the vanilla cake recipe (it also misses some modded cake recipes, but will get some others).
This occurs on minetweaker 3.0.5 for minecraft 1.7.10
Thank you,
Sound Logic

[Feature Request] Ability to change a block's hardness

I'd like to custom-tailor my modpack's ore progression, and in order to do that, I'd need to tweak certain blocks' hardness level. If there's already a way to do this, please let me know; I can't seem to find anywhere to do this.

Adding own type?

What steps do I have to take add my own things like ILiquidStack and IItemStack? I can of course work it out myself if you'd prefer :P, but a pointer would be very helpful.

I have two cases I can think of where I'd need to do this (well one is a quality of life thing). IGasStack for Mekanism support, and for my own sanity I'd want something like IBlockStack, which would be the same as the ItemStack but would only allow blocks. (Currently I'm checking in the methods, but would be nice to make this error out before it got there, so I don't have to keep repeating code).

I know this isn't an 'issue', but I wasn't sure where to ask.

Bug: .withTag() on variables is not considered in recipes

var customStone = minecraft:stone.withTag(...);

If I were to require a recipe to need "customStone", normal stone would work fine and wouldn't need the tag specified in the variable. Yes I know that .withTag(...) can be used in the recipes, but that would result in long and messy recipes. The output item applies the tag from the var correctly.

Cant use more than 1 .transformDamage()

Example:

val plateCopper = <ore:plateCopper>;

val forgeHammer = <IC2:itemToolForgeHammer>;
val cutter = <IC2:itemToolCutter>;

#Copper chest
recipes.addShaped(<IronChest:BlockIronChest:3>,
[   [plateCopper,plateCopper,plateCopper],
    [forgeHammer.anyDamage().transformDamage(),<minecraft:chest>,cutter.anyDamage().transformDamage()],
    [plateCopper,plateCopper,plateCopper]]);

forgeHammer returns damaged but cutter just disappears.

Doesn't work with Mystcraft Recipes

Mystcraft: 1.7.2-0.10.15.0

It looks like Mystcraft is doing something different with its recipes. Minetweaker is not able to remove the.

Example:

recipes.remove(Mystcraft:BlockInkMixer);

Script executes but it says removing 0 recipes.

World not loading

Tried to create a world and it refuses to load up sending me back to the main screen. Apparently it's an exception from your mod:
http://pastebin.com/xPgynJNd
Please let me know if you need anything else :)

Haighyorkie

Hide from NEI function not working properly

In the script I got the following commands:

import mods.nei.NEI;
NEI.hide(ForgeMicroblock:microblock);
NEI.hide(<BuildCraft|Transport:pipeFacade>);
NEI.hide(appliedenergistics2:item.ItemFacade);
NEI.hide(ExtraUtilities:microblocks);

But they are not hidden in NEI before I use a /mt reload command
Which means that each time I enters the game, I need to reload the scripts to make it work.
Is it a problem on the side of minetweaker or NEI

Suggestion for adding method to skip code if mod is not presented

Hello there,
I have suggestion to for MineTweaker to add simple boolean sequence for .zs Scripts.
That code could look even like that one in Forge.

zenScript.isModLoaded("modid");

This could be helpfull to make scripts more universal and don't report errors while mod is missing in /mods directory / in game.
For better example, everything within 4 space padding after this code - line could be taken as part of isModLoaded(); part.

zenScript.isModLoaded("IC2");
    var chainsaw = <ic2:chainsaw>;

Or it can go more deeper like this

zs = ZenScript;
zs.isModLoaded("modid")
{
do things here until this '}' letter show on.
};

Suggestion: '/mt recipes' command.

While changing recipes of an item you sometimes only want to change a tiny part of the recipe. Right now the only way to do that is to remove the recipe and then completely retype it.

I am suggesting a command that will print out all recipes of an item to the Minetweaker log.

Example:
User types '/mt recipes' with a redstone lamp in his hand.
Result:
recipes.Shaped(<tile.redstoneLight>, [[null, <item.redstone>, null], [<item.redstone>, <tile.lightgem>, <item.redstone>], [null, <item.redstonen>, null]]);
Assembler.Recipe(<tile.redstoneLight>, <item.redstone>, <item.yellowDust>, 400, 1);
Will be printed in the Minetweaker log file.

Minetweaker error when loading config with only comments

Received this error when I tried to load a config with nothing but comments.

minetweaker.log
ERROR: Error loading TinkersConstruct.zs: stanhebben.zenscript.parser.TokenException: Invalid character at 4:20 - (bunch of wierd chars)

Console Log
http://pastebin.com/WU3ZW6T8

Actual .zs file

Tinkers Construct Minetweaker Changes

#recipes.remove(TConstruct:ToolForgeBlock:*);
#recipes.addShaped( <--- Line 4

Recipe Bug: Fake items with the same ID are considered the same item.

Fake item = an item with a data value that doesn't exist, such as minecraft:stone:100, which would be the ID 1:100.

If I create some vars:

var stone = minecraft:stone;
var stoneI = minecraft:stone:1; (Fake item)
var stoneII = minecraft:stone:2; (Fake item)
var stoneIII = minecraft:stone:3; (Fake item)

Now if I was to set a recipe that required these fake items, normal stone or any of the fake items will work, no matter what the recipe is. If a recipe required stoneIII, then any of the stone items will work.

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.