Comments (14)
put that import at the beginning of the file please
from crafttweaker.
I'm not sure on loops, but are you sure it is meant to be for i, thedprmlog
? Do me a favor and remove "thedprmlog" from the loop.
On Sep 3, 2016 7:39 PM, "Raymond Tremblay" [email protected] wrote:
I got this code http://pastebin.com/2fg2qTyN
which doesn't output error in chat, but in minetweaker.log
http://pastebin.com/zCsmw15xI tried with import minetweaker.item.IItemStack; as stated on the wiki, bt
I got a chat error with that—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#51, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFS9xfBwxZbhrYHZz9MsJp0dpQ8EHeiVks5qmbDtgaJpZM4J0WnA
.
from crafttweaker.
can try, but I copy/paste from the wiki and adapted my variable to be clear so.
I'll try
EDIT: got the same error
ERROR: Error executing modDRPMedieval.zs: Bad type on operand stack
from crafttweaker.
ok, yea, I found the wiki thing, ok so try make the arrays var instead of val please
from crafttweaker.
Tried that at first, retried live, same error
from crafttweaker.
ok, yea, weird, could you try the loop with just these lines?
var theMCLog = listMCLog[i];
var theMCPlank = listMCPlank[i];
var theDRPMPlank = listDRPMPlank[i];
print(theMCLog.displayName);
print(theMCPlank .displayName);
print(theDRPMPlank .displayName);
I have a feeling that one of those is null, so this should tell us which one
from crafttweaker.
ERROR: modDRPMedieval.zs22 > any value not yet supported
ERROR: modDRPMedieval.zs23 > any value not yet supported
ERROR: modDRPMedieval.zs24 > any value not yet supported
ERROR: Error executing modDRPMedieval.zs: minetweaker/api/item/IItemStackAny
from crafttweaker.
full .log relevant code
http://pastebin.com/5SNf4SJR
from crafttweaker.
uh, is this with
import minetweaker.item.IItemStack;
?
from crafttweaker.
ERROR: Error parsing modDRPMedieval.zs:3 -- Invalid expression, last token: import
from crafttweaker.
uh, post your whole script please
from crafttweaker.
http://pastebin.com/raw/yPgs6NJS
from crafttweaker.
seems to work as intended, at last! :D
should have a disclaimer somewhere to say that IMPORT must ALWAYS be at absolute begining of file, even before PRINTs
Thank you!
from crafttweaker.
Final file, al working well, fully optimized
http://pastebin.com/raw/UTBmuw8i
from crafttweaker.
Related Issues (20)
- addJsonRecipe doesn't work properly with botany pots and compact machines HOT 1
- Simulate block breaking for use with events.
- Crash on mod load: java.lang.ClassNotFoundException: com.blamejared.createtweaker.recipe.manager.base.IProcessingRecipeManager HOT 2
- java.lang.NullPointerException error after crafting with custom recipe HOT 4
- IDataOps.convertTo for String values leaves extra Quotation marks HOT 1
- Game crashes when installing with Kemonocraft HOT 1
- why doesnt this work??? HOT 4
- CraftTweaker preventing block drops 1.20.4 HOT 3
- ScriptProviderCustom could not work normally HOT 3
- crash when adding crafttweaker to my modpack HOT 1
- Replacer example for 1.20+
- GBook mod not see CT resipes HOT 2
- cannot cast KnownTag<ItemDefinition>[] to IIngredient[] HOT 3
- Cannot use Random HOT 1
- recipe functions for more than just crafting table recipes HOT 1
- "import crafttweaker.api.item.type.armor.ArmorItem" causes script compiling issues and cannot be found.
- 1.20 Example is incorrect for crafttweaker.api.loot.LootTable.getRandomItems
- Load scripts from datapacks HOT 2
- Draconic Evolution on newer versions Support HOT 3
- 1.20.1 Fabric Server NBT Ingredients show null HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crafttweaker.