Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Commit 4ee9aed

Browse files
committed
Added files
1 parent 35d1c65 commit 4ee9aed

File tree

169 files changed

+2412
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+2412
-1
lines changed

README.md

+146-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,146 @@
1-
# MinecraftPE.VanillaUtils
1+
<p float="left">
2+
<img src="https://img.shields.io/github/languages/top/fredhappyface/MinecraftPE.VanillaUtils.svg?style=flat-square" alt="Github top language">
3+
<img src="https://img.shields.io/codacy/grade/195d422cc13b4fa5b25d12e5b45cc6d3.svg?style=flat-square" alt="Codacy grade">
4+
<img src="https://img.shields.io/codacy/coverage/195d422cc13b4fa5b25d12e5b45cc6d3.svg?style=flat-square" alt="Codacy coverage">
5+
<img src="https://img.shields.io/github/repo-size/fredhappyface/MinecraftPE.VanillaUtils.svg?style=flat-square" alt="Repository size">
6+
<img src="https://img.shields.io/github/issues/fredhappyface/MinecraftPE.VanillaUtils.svg?style=flat-square" alt="Issues">
7+
<img src="https://img.shields.io/github/license/fredhappyface/MinecraftPE.VanillaUtils.svg?style=flat-square" alt="License">
8+
<img src="https://img.shields.io/github/commit-activity/m/fredhappyface/MinecraftPE.VanillaUtils.svg?style=flat-square" alt="Commit activity">
9+
<img src="https://img.shields.io/github/last-commit/fredhappyface/MinecraftPE.VanillaUtils.svg?style=flat-square" alt="Last commit">
10+
</p>
11+
12+
# MinecraftPE.VanillaUtils
13+
- By FredHappyface
14+
15+
Release 2019.08.09:
16+
Provides additional tools, armor and decoration blocks based on vanilla blocks. Along with some quality of life features such as simple transmutation and crafting recipes.
17+
18+
Get it at https://icmods.mineprogramming.org/mod.php?id=422
19+
alternatively, you can build the project from source
20+
21+
## Features
22+
This mod includes brick forms of many vanilla blocks such as wool. See below for a list of different types of each block/ item. Adds stained glass.
23+
24+
25+
### Tools and Armor
26+
- Granite
27+
- Diorite
28+
- Lapis
29+
- Glowstone
30+
31+
### Lamps
32+
- Granite
33+
- Diorite
34+
- Lapis
35+
- Glowstone
36+
- Iron
37+
- Gold
38+
- Diamond
39+
- Coal
40+
- Charcoal
41+
- Emerald
42+
43+
44+
### Bricks
45+
- Granite
46+
- Diorite
47+
- Lapis
48+
- Glowstone
49+
- Dirt
50+
- Glass
51+
- Redstone
52+
- Every colored wool
53+
- Glass
54+
- Every stained Glass
55+
56+
57+
## Crafting Recipes
58+
59+
### Decoration Blocks
60+
61+
Decoration Block
62+
![Block ](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/decoration_block.PNG "Block ")
63+
Decoration Block can be used to create some fake blocks
64+
![Block ](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/fake_block.PNG "Block ")
65+
66+
Bricks
67+
![Bricks](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/bricks.PNG "Bricks")
68+
Lamp
69+
![Lamp ](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/lamp.PNG "Lamp ")
70+
Inverted Lamp
71+
![Inverted Lamp](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/lamp_inverted.PNG "Inverted Lamp")
72+
73+
### Tools
74+
75+
Hoe
76+
![Hoe](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/hoe.PNG "Hoe")
77+
Shovel
78+
![Shovel](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/shovel.PNG "Shovel")
79+
Sword
80+
![Sword](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/sword.PNG "Sword")
81+
Axe
82+
![Axe ](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/axe.PNG "Axe ")
83+
Pickaxe
84+
![Pickaxe ](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/pickaxe.PNG "Pickaxe ")
85+
Shears
86+
![Shears ](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/shears.PNG "Shears ")
87+
88+
### Armor
89+
90+
Helm
91+
![Helm](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/helm.PNG "Helm")
92+
Chest-piece
93+
![Chest](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/chest.PNG "Chest")
94+
Leggings
95+
![Leggings ](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/leggings.PNG "Leggings ")
96+
Boots
97+
![Boots ](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/boots.PNG "Boots ")
98+
99+
### Other
100+
101+
Vanilla Chest
102+
![Chest](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/chest_block.PNG "Chest")
103+
104+
Diamond
105+
![Diamond](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/transmutation_diamond.PNG "Diamond")
106+
107+
Gold Ingot
108+
![Gold ](https://raw.githubusercontent.com/FredHappyface/Minecraft.VanillaUtils/master/readme-assets/screenshots/crafting/transmutation_gold.PNG "Gold ")
109+
110+
## A note on versions
111+
- Alpha: Considered unstable, updating versions may affect existing worlds, blocks/ items will be without textures. Introduces new features
112+
- Beta: Considered stable with some testing, blocks/ items should all have textures and recipes potentially with few exceptions. Expect fewer new features from alpha
113+
- Release: Stable and more thoroughly tested, considered acceptable quality for general usage. Bug fixes from beta
114+
115+
## Download
116+
### Clone
117+
#### Using The Command Line
118+
1. Press the Clone or download button in the top right
119+
2. Copy the URL (link)
120+
3. Open the command line and change directory to where you wish to clone to
121+
4. Type 'git clone' followed by URL in step 2
122+
```bash
123+
$ git clone https://github.com/[user-name]/[repository]
124+
```
125+
126+
More information can be found at https://help.github.com/en/articles/cloning-a-repository
127+
128+
#### Using GitHub Desktop
129+
1. Press the Clone or download button in the top right
130+
2. Click open in desktop
131+
3. Choose the path for where you want and click Clone
132+
133+
More information can be found at https://help.github.com/en/desktop/contributing-to-projects/cloning-a-repository-from-github-to-github-desktop
134+
135+
### Download Zip File
136+
137+
1. Download this GitHub repository
138+
2. Extract the zip archive
139+
3. Copy/ move to the desired location
140+
141+
142+
## Licence
143+
MIT License
144+
Copyright (c) Kieran W
145+
(See the [LICENSE](/LICENSE.md) for more information.)
146+

build.config

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"defaultConfig" : {
3+
"buildType" : "develop" ,
4+
"api" : "CoreEngine" ,
5+
"libraryDir" : "lib/"
6+
},
7+
8+
"resources" : [
9+
{
10+
"path" : "res/" ,
11+
"resourceType" : "resource"
12+
},
13+
{
14+
"path" : "gui/" ,
15+
"resourceType" : "gui"
16+
}
17+
],
18+
19+
"buildDirs" : [
20+
{
21+
"targetSource" : "main.js" ,
22+
"dir" : "dev/"
23+
}
24+
],
25+
26+
"compile" : [
27+
{
28+
"path" : "main.js" ,
29+
"sourceType" : "mod"
30+
},
31+
{
32+
"path" : "launcher.js" ,
33+
"sourceType" : "launcher"
34+
}
35+
]
36+
}

dev/.includes

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
header.js
2+
3+
data/decorBlock.js
4+
data/armor.js
5+
data/tools.js
6+
7+
utils/helpers.js
8+
9+
10+
registers/modBlocks.js
11+
registers/modItems.js
12+
registers/worldGen.js
13+
registers/lamps.js
14+
15+
recipes/vanilla.js
16+
recipes/transmutations.js
17+

dev/data/armor.js

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
data/armor.js holds data on armor in the mod
3+
*/
4+
5+
const ARMOR = ["helm", "chest", "leggings", "boots"];
6+
const ARMOR_LEN = ARMOR.length;
7+
const ARMOR_RECIPES = {
8+
helm : [
9+
"xxx",
10+
"x x"
11+
],
12+
chest: [
13+
"x x",
14+
"xxx",
15+
"xxx"
16+
],
17+
leggings: [
18+
"xxx",
19+
"x x",
20+
"x x"
21+
],
22+
boots:[
23+
"x x",
24+
"x x"
25+
]
26+
};
27+
28+
const ARMOR_MAX_DAM_RED = {
29+
helm: 11,
30+
chest: 16,
31+
leggings: 15,
32+
boots: 13
33+
};

dev/data/decorBlock.js

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
data/decorBlock.js holds data on decoration blocks in the mod
3+
*/
4+
5+
const DECOR_BLOCK_VAN_ID = [[3,0],[20,0],[152,0],[35,0],[35,1],[35,2],[35,3],[35,4],[35,5],[35,6],[35,7],[35,8],[35,9],[35,10],[35,11],[35,12],[35,13],[35,14],[35,15]]
6+
const DECOR_BLOCK = ["dirt", "glass", "redstone", "wool_white", "wool_orange", "wool_magenta", "wool_blue_light", "wool_yellow", "wool_lime", "wool_pink", "wool_gray", "wool_gray_light", "wool_cyan", "wool_purple", "wool_blue", "wool_brown", "wool_green", "wool_red", "wool_black"];
7+
const DECOR_BLOCK_LEN = DECOR_BLOCK.length;
8+
9+
10+
const GLASS_BLOCK_VAN_ID = [[351, 15],[351, 14],[351, 13],[351, 12],[351, 11],[351, 10],[351, 9],[351, 8],[351, 7],[351, 6],[351, 5],[351, 4],[351, 3],[351, 2],[351, 1],[351, 0]]
11+
const GLASS_BLOCK = ["glass_white", "glass_orange", "glass_magenta", "glass_blue_light", "glass_yellow", "glass_lime", "glass_pink", "glass_gray", "glass_gray_light", "glass_cyan", "glass_purple", "glass_blue", "glass_brown", "glass_green", "glass_red", "glass_black"]
12+
const GLASS_BLOCK_LEN = GLASS_BLOCK.length
13+
14+
15+
const INCL_LAMP_VAN_ID = [[265,0], [266,0], [264,0], [263, 0], [263, 1], [388, 0]]
16+
const INCL_LAMP = ["iron", "gold", "diamond", "coal", "charcoal", "emerald"];
17+
const INCL_LAMP_LEN = INCL_LAMP.length;
18+
19+
// Tools also have lamps
20+
const INCL_TOOLS_VAN_ID = [[1,1], [1,3],[348, 0], [351, 4]]
21+
const INCL_TOOLS = ["granite", "diorite", "glowstone", "lapis"]
22+
const INCL_TOOLS_LEN = INCL_TOOLS.length;

dev/data/tools.js

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
data/tools.js holds data on tools in the mod
3+
*/
4+
5+
const TOOLS = ["sword", "shovel", "pickaxe", "axe", "hoe"];
6+
const TOOLS_LEN = TOOLS.length;
7+
const TOOLS_RECIPES = {
8+
sword: [
9+
"a",
10+
"a",
11+
"b"
12+
],
13+
shovel: [
14+
"a",
15+
"b",
16+
"b"
17+
],
18+
pickaxe: [
19+
"aaa",
20+
" b ",
21+
" b "
22+
],
23+
axe: [
24+
"aa",
25+
"ab",
26+
" b"
27+
],
28+
hoe: [
29+
"aa",
30+
" b",
31+
" b"
32+
]
33+
};
34+
35+

dev/header.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
// __ __ _ _ _ _ _ _ _ _
3+
// \ \ / /_ _ _ _ (_) | |__ _ | | | | |_(_) |___
4+
// \ V / _` | ' \| | | / _` | | |_| | _| | (_-<
5+
// _\_/\__,_|_||_|_|_|_\__,_| \___/ \__|_|_/__/
6+
// | \/ |/ __| _ \ __|
7+
// | |\/| | (__| _/ _|
8+
// |_| |_|\___|_| |___|
9+
//
10+
// - BY FREDHAPPYFACE (MIT 2019)
11+
12+
13+
14+
IMPORT("ToolLib");

0 commit comments

Comments
 (0)