Initial Commit

master
Elias Fleckenstein 2020-04-26 11:55:17 +02:00
commit 17b9a80077
20 changed files with 142 additions and 0 deletions

1
README Normal file
View File

@ -0,0 +1 @@
Minecraft Mod for dragonblocks (https://github.com/EliasFleckenstein03/dragonblocksJS)

1
description.txt Executable file
View File

@ -0,0 +1 @@
Adds Minecraft Stuff

140
init.js Executable file
View File

@ -0,0 +1,140 @@
dragonblocks.registerNode({
name: "minecraft:cobblestone",
stable: true,
texture: "minecraft_cobblestone.png",
groups: ["cracky"],
hardness: 9,
desc: "Cobblestone",
stacksize: 64,
});
dragonblocks.registerNode({
name: "minecraft:pumpkin",
stable: true,
texture: "minecraft_pumpkin.png",
groups: ["snappy"],
hardness: 4,
desc: "Pumpkin",
stacksize: 64,
});
dragonblocks.registerNode({
name: "minecraft:sponge",
stable: true,
texture: "minecraft_sponge.png",
groups: ["snappy"],
hardness: 2,
desc: "Sponge",
stacksize: 64,
});
dragonblocks.registerNode({
name: "minecraft:wet_sponge",
stable: true,
texture: "minecraft_wet_sponge.png",
groups: ["snappy"],
hardness: 2,
desc: "Wet Sponge",
stacksize: 64,
});
dragonblocks.registerNode({
name: "minecraft:bedrock",
stable: true,
texture: "minecraft_bedrock.png",
groups: ["cracky"],
hardness: Infinity,
desc: "Bedrock",
onblast: _ => {
return false;
},
stacksize: 64,
});
dragonblocks.registerNode({
name: "minecraft:bricks",
stable: true,
texture: "minecraft_bricks.png",
groups: ["cracky"],
hardness: 9,
desc: "Bricks",
physics:true,
stacksize: 64,
});
dragonblocks.registerNode({
name: "minecraft:soul_sand",
stable: true,
texture: "minecraft_soul_sand.png",
groups: ["crumbly"],
hardness: 3,
desc: "Soul Sand",
stacksize: 64,
});
dragonblocks.registerNode({
name: "minecraft:sand",
stable: true,
texture: "minecraft_sand.png",
groups: ["crumbly"],
hardness: 3,
desc: "Sand",
physics:true,
stacksize: 64,
});
dragonblocks.registerNode({
name: "minecraft:red_sand",
stable: true,
texture: "minecraft_red_sand.png",
groups: ["crumbly"],
hardness: 3,
desc: "Red Sand",
physics:true,
stacksize: 64,
});
dragonblocks.registerNode({
name: "minecraft:sandstone",
stable: true,
texture: "minecraft_sandstone.png",
groups: ["cracky"],
hardness: 8,
desc: "Sandstone",
stacksize: 64,
});
dragonblocks.registerNode({
name: "minecraft:red_sandstone",
stable: true,
texture: "minecraft_red_sandstone.png",
groups: ["cracky"],
hardness: 8,
desc: "Red Sandstone",
stacksize: 64,
});
dragonblocks.registerNode({
name: "minecraft:chisel_sandstone",
stable: true,
texture: "minecraft_chisel_sandstone.png",
groups: ["cracky"],
hardness: 8,
desc: "Chisel Sandstone",
stacksize: 64,
});
dragonblocks.registerNode({
name: "minecraft:red_chisel_sandstone",
stable: true,
texture: "minecraft_red_chisel_sandstone.png",
groups: ["cracky"],
hardness: 8,
desc: "Red Chisel Sandstone",
stacksize: 64,
});
plants.registerTree({
name: "oak",
tree: dragonblocks.getPixelManipulator([
["leaves", "leaves", "leaves"],
["leaves", "leaves", "leaves"],
["leaves", "leaves", "leaves"],
["", "tree", ""],
["", "§tree", ""],
]),
growtimeMin: 25,
growtimeMax: 30,
saplingDropChance: 3,
treeName: "Log",
woodName: "Planks",
woodFromTree: 4,
stacksize: 64,
})

BIN
textures/minecraft_bedrock.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

BIN
textures/minecraft_bricks.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
textures/minecraft_pumpkin.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

BIN
textures/minecraft_red_sand.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

BIN
textures/minecraft_sand.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
textures/minecraft_sandstone.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
textures/minecraft_soul_sand.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
textures/minecraft_sponge.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
textures/minecraft_wet_sponge.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
textures/plants_oak_leaves.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
textures/plants_oak_sapling.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

BIN
textures/plants_oak_tree.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

BIN
textures/plants_oak_wood.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B