]> git.lizzy.rs Git - minecraft.git/commitdiff
Initial Commit master
authorElias Fleckenstein <eliasfleckenstein@web.de>
Sun, 26 Apr 2020 09:55:17 +0000 (11:55 +0200)
committerElias Fleckenstein <eliasfleckenstein@web.de>
Sun, 26 Apr 2020 09:55:17 +0000 (11:55 +0200)
20 files changed:
README [new file with mode: 0644]
description.txt [new file with mode: 0755]
init.js [new file with mode: 0755]
textures/minecraft_bedrock.png [new file with mode: 0755]
textures/minecraft_bricks.png [new file with mode: 0755]
textures/minecraft_chisel_sandstone.png [new file with mode: 0755]
textures/minecraft_cobblestone.png [new file with mode: 0755]
textures/minecraft_pumpkin.png [new file with mode: 0755]
textures/minecraft_red_chisel_sandstone.png [new file with mode: 0755]
textures/minecraft_red_sand.png [new file with mode: 0755]
textures/minecraft_red_sandstone.png [new file with mode: 0755]
textures/minecraft_sand.png [new file with mode: 0755]
textures/minecraft_sandstone.png [new file with mode: 0755]
textures/minecraft_soul_sand.png [new file with mode: 0755]
textures/minecraft_sponge.png [new file with mode: 0755]
textures/minecraft_wet_sponge.png [new file with mode: 0755]
textures/plants_oak_leaves.png [new file with mode: 0755]
textures/plants_oak_sapling.png [new file with mode: 0755]
textures/plants_oak_tree.png [new file with mode: 0755]
textures/plants_oak_wood.png [new file with mode: 0755]

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..5f10a46
--- /dev/null
+++ b/README
@@ -0,0 +1 @@
+Minecraft Mod for dragonblocks (https://github.com/EliasFleckenstein03/dragonblocksJS)
diff --git a/description.txt b/description.txt
new file mode 100755 (executable)
index 0000000..6b51e89
--- /dev/null
@@ -0,0 +1 @@
+Adds Minecraft Stuff
diff --git a/init.js b/init.js
new file mode 100755 (executable)
index 0000000..5f1d360
--- /dev/null
+++ b/init.js
@@ -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,
+})
diff --git a/textures/minecraft_bedrock.png b/textures/minecraft_bedrock.png
new file mode 100755 (executable)
index 0000000..6ec1d75
Binary files /dev/null and b/textures/minecraft_bedrock.png differ
diff --git a/textures/minecraft_bricks.png b/textures/minecraft_bricks.png
new file mode 100755 (executable)
index 0000000..0878569
Binary files /dev/null and b/textures/minecraft_bricks.png differ
diff --git a/textures/minecraft_chisel_sandstone.png b/textures/minecraft_chisel_sandstone.png
new file mode 100755 (executable)
index 0000000..4645024
Binary files /dev/null and b/textures/minecraft_chisel_sandstone.png differ
diff --git a/textures/minecraft_cobblestone.png b/textures/minecraft_cobblestone.png
new file mode 100755 (executable)
index 0000000..1d95df7
Binary files /dev/null and b/textures/minecraft_cobblestone.png differ
diff --git a/textures/minecraft_pumpkin.png b/textures/minecraft_pumpkin.png
new file mode 100755 (executable)
index 0000000..415d902
Binary files /dev/null and b/textures/minecraft_pumpkin.png differ
diff --git a/textures/minecraft_red_chisel_sandstone.png b/textures/minecraft_red_chisel_sandstone.png
new file mode 100755 (executable)
index 0000000..62a7ff9
Binary files /dev/null and b/textures/minecraft_red_chisel_sandstone.png differ
diff --git a/textures/minecraft_red_sand.png b/textures/minecraft_red_sand.png
new file mode 100755 (executable)
index 0000000..33e794e
Binary files /dev/null and b/textures/minecraft_red_sand.png differ
diff --git a/textures/minecraft_red_sandstone.png b/textures/minecraft_red_sandstone.png
new file mode 100755 (executable)
index 0000000..07e7c5d
Binary files /dev/null and b/textures/minecraft_red_sandstone.png differ
diff --git a/textures/minecraft_sand.png b/textures/minecraft_sand.png
new file mode 100755 (executable)
index 0000000..2355613
Binary files /dev/null and b/textures/minecraft_sand.png differ
diff --git a/textures/minecraft_sandstone.png b/textures/minecraft_sandstone.png
new file mode 100755 (executable)
index 0000000..da114c9
Binary files /dev/null and b/textures/minecraft_sandstone.png differ
diff --git a/textures/minecraft_soul_sand.png b/textures/minecraft_soul_sand.png
new file mode 100755 (executable)
index 0000000..78548a0
Binary files /dev/null and b/textures/minecraft_soul_sand.png differ
diff --git a/textures/minecraft_sponge.png b/textures/minecraft_sponge.png
new file mode 100755 (executable)
index 0000000..831f9c7
Binary files /dev/null and b/textures/minecraft_sponge.png differ
diff --git a/textures/minecraft_wet_sponge.png b/textures/minecraft_wet_sponge.png
new file mode 100755 (executable)
index 0000000..8714fdf
Binary files /dev/null and b/textures/minecraft_wet_sponge.png differ
diff --git a/textures/plants_oak_leaves.png b/textures/plants_oak_leaves.png
new file mode 100755 (executable)
index 0000000..4f92ef8
Binary files /dev/null and b/textures/plants_oak_leaves.png differ
diff --git a/textures/plants_oak_sapling.png b/textures/plants_oak_sapling.png
new file mode 100755 (executable)
index 0000000..25490e1
Binary files /dev/null and b/textures/plants_oak_sapling.png differ
diff --git a/textures/plants_oak_tree.png b/textures/plants_oak_tree.png
new file mode 100755 (executable)
index 0000000..e8d5b2f
Binary files /dev/null and b/textures/plants_oak_tree.png differ
diff --git a/textures/plants_oak_wood.png b/textures/plants_oak_wood.png
new file mode 100755 (executable)
index 0000000..75a5842
Binary files /dev/null and b/textures/plants_oak_wood.png differ