This is great hopefully the built in texture pack is fixed cause I keep getting messed up gui and no mob texture.Their faces turn into a static tv screen so I had to make my own out of the old texture picks also will it be available for 0.9.0 cause I'm a beta tester and I want a text for all thenew blocks and mobs.And mmake the emerald pretty too!
Hi guys,
Thanks to Blocklauncher developers and modders who thought me how to code, I'm writing my own simple mod:it only adds a static mob, but if you ride it, then it can move. Here is a pic taken from the model made on techne, let me know what you think about it http://www.minecraft...11_18.41.01.png
The Meaning of Life, the Universe, and Everything.
Join Date:
5/20/2014
Posts:
49
Member Details
var ct = ["cobblestone", 0]
Block.defineBlock(23, "Wonder Block", [ct, ct, ct, ct, ct, ct], 0, false, 101);
// Give it our custom render type, which I'll make 101.
// All custom render types must be greater than 100
function renderBlockHook(blockId, x, y, z)
if(Block.getRenderType(blockId) == 101) {
renderWonderBlock(x, y, z); // Render our block at that x, y, z location
}
// Our function to render our custom block
function renderWonderBlock(x, y, z) {
// Let's make an upper cube at the spot
// Our custom block's ID is 23
Block.setShape(23, 0, 0.7, 0, 1, 1, 1);
BlockRenderer.renderBlock(23, x, y, z);
//Render that block at the location
// Now make the bottom cube
// Change the shape of our block 23 again
Block.setShape(23, 0, 0, 0, 1, 0.3, 1);
BlockRenderer.renderBlock(23, x, y, z);
// Now render the bottom block at this location
// Now we'll add a diamond textured cross
BlockRenderer.renderCross(57, x, y, z);
// And now a torch
BlockRenderer.renderTorch(50, x, y, z);
}
Error.on block launcher 1.6.11
if(Block.getRenderType(blockId) == 101) {
org.mozilla.javascript.EvaluatorException: missing { before function body (untitled.js#7)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(Unknown Source)
at org.mozilla.javascript.DefaultErrorReporter.error(Unknown Source)
at org.mozilla.javascript.Parser.addError(Unknown Source)
at org.mozilla.javascript.Parser.addError(Unknown Source)
at org.mozilla.javascript.Parser.reportError(Unknown Source)
at org.mozilla.javascript.Parser.reportError(Unknown Source)
at org.mozilla.javascript.Parser.reportError(Unknown Source)
at org.mozilla.javascript.Parser.parseFunctionBody(Unknown Source)
at org.mozilla.javascript.Parser.function(Unknown Source)
at org.mozilla.javascript.Parser.parse(Unknown Source)
at org.mozilla.javascript.Parser.parse(Unknown Source)
at org.mozilla.javascript.Context.compileImpl(Unknown Source)
at org.mozilla.javascript.Context.compileReader(Unknown Source)
at net.zhuoweizhang.mcpelauncher.ScriptManager$ParseThread.run(ScriptManager.java:151)
at java.lang.Thread.run(Thread.java:856)
Back to modding! Follow me on Twitter @byteandahalf
Image Removed
http://bdcraft.net
Image Removed
http://bdcraft.net
This was introduced a long time ago...
Is there a new beta out that supports it??
Game dev and Minecraft modder.
Twitter: @jv110br_
www.youtube.com/user/TheZombieman211
Amazing
Where is the download?
1 up
Game dev and Minecraft modder.
Twitter: @jv110br_
Work in mcpe 0.9.0!!!!
Pls...
Block.defineBlock(23, "Wonder Block", [ct, ct, ct, ct, ct, ct], 0, false, 101);
// Give it our custom render type, which I'll make 101.
// All custom render types must be greater than 100
function renderBlockHook(blockId, x, y, z)
if(Block.getRenderType(blockId) == 101) {
renderWonderBlock(x, y, z); // Render our block at that x, y, z location
}
// Our function to render our custom block
function renderWonderBlock(x, y, z) {
// Let's make an upper cube at the spot
// Our custom block's ID is 23
Block.setShape(23, 0, 0.7, 0, 1, 1, 1);
BlockRenderer.renderBlock(23, x, y, z);
//Render that block at the location
// Now make the bottom cube
// Change the shape of our block 23 again
Block.setShape(23, 0, 0, 0, 1, 0.3, 1);
BlockRenderer.renderBlock(23, x, y, z);
// Now render the bottom block at this location
// Now we'll add a diamond textured cross
BlockRenderer.renderCross(57, x, y, z);
// And now a torch
BlockRenderer.renderTorch(50, x, y, z);
}
Error.on block launcher 1.6.11
if(Block.getRenderType(blockId) == 101) {
org.mozilla.javascript.EvaluatorException: missing { before function body (untitled.js#7)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(Unknown Source)
at org.mozilla.javascript.DefaultErrorReporter.error(Unknown Source)
at org.mozilla.javascript.Parser.addError(Unknown Source)
at org.mozilla.javascript.Parser.addError(Unknown Source)
at org.mozilla.javascript.Parser.reportError(Unknown Source)
at org.mozilla.javascript.Parser.reportError(Unknown Source)
at org.mozilla.javascript.Parser.reportError(Unknown Source)
at org.mozilla.javascript.Parser.parseFunctionBody(Unknown Source)
at org.mozilla.javascript.Parser.function(Unknown Source)
at org.mozilla.javascript.Parser.parse(Unknown Source)
at org.mozilla.javascript.Parser.parse(Unknown Source)
at org.mozilla.javascript.Context.compileImpl(Unknown Source)
at org.mozilla.javascript.Context.compileReader(Unknown Source)
at net.zhuoweizhang.mcpelauncher.ScriptManager$ParseThread.run(ScriptManager.java:151)
at java.lang.Thread.run(Thread.java:856)