From b79698d65ecbc6e59c9701fe5926930de8c92b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Thu, 7 Jul 2016 16:06:04 +0200 Subject: [PATCH] Galena --- TODO.txt | 7 +++- graphics/ore.xcf | Bin 6574 -> 6988 bytes src/java/mmm/materials/Materials.java | 5 ++- src/java/mmm/materials/ore/MOGalena.java | 32 ++++++++++++++++++ .../mmm/blockstates/materials/ore/galena.json | 5 +++ src/resources/assets/mmm/lang/en_US.lang | 2 ++ .../models/block/materials/ore/galena.json | 6 ++++ .../mmm/models/item/materials/ore/galena.json | 3 ++ .../textures/blocks/materials/ore/galena.png | Bin 0 -> 397 bytes 9 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 src/java/mmm/materials/ore/MOGalena.java create mode 100644 src/resources/assets/mmm/blockstates/materials/ore/galena.json create mode 100644 src/resources/assets/mmm/models/block/materials/ore/galena.json create mode 100644 src/resources/assets/mmm/models/item/materials/ore/galena.json create mode 100644 src/resources/assets/mmm/textures/blocks/materials/ore/galena.png diff --git a/TODO.txt b/TODO.txt index f7f026b..1486f24 100644 --- a/TODO.txt +++ b/TODO.txt @@ -41,13 +41,18 @@ materials No Alloys materials No Metal from slag -> in metal recycler materials No Black sand +materials No Metals + Lead + Aluminium + Silver +materials No Liquids + Mercury ------------------------------------------------------------------------------------------------------- materials.rock No Smooth limestone materials.rock No Smooth slate materials.rock No Basalt ------------------------------------------------------------------------------------------------------- materials.ore No Silver (native, horn silver) -materials.ore No Lead (galena) materials.ore No Cinnabar materials.ore No Olivine ------------------------------------------------------------------------------------------------------- diff --git a/graphics/ore.xcf b/graphics/ore.xcf index ea6107e4ca9cc377f3349c57ad834c7a88bf10ac..9531c3ae90911c5e2330755c0cfda082618f1265 100644 GIT binary patch delta 872 zcmbtRL2DC16n?YKCh4Z`mTsEtru7hohIna1wG@K72%(K@jECtnylFRz^f3MLNZbzf61#&P8?k1N;}+1;0E`D?#-Y|AWzGrU>y2Z6*hIV;P)K25f?^8<5|1n>vd|Lno8IGP{=CJ~(wHP(O zF)(l*M^Xwjk(~=wDZ3PiKiPrzF%!KZyclIVxS1jlR(4ywxep{J3e_o-{i^iQU;Tmm>f)*pt3-U|2hMM z& Ll~kL2K&l4-+ conditions ) + { + conditions.add( new WGOreCondition( WLocation.inOverworld( ) , + new WGOreParameters( this.getDefaultState( ) , 10 , 9 ) ) ); + } + +} diff --git a/src/resources/assets/mmm/blockstates/materials/ore/galena.json b/src/resources/assets/mmm/blockstates/materials/ore/galena.json new file mode 100644 index 0000000..6c6e8f1 --- /dev/null +++ b/src/resources/assets/mmm/blockstates/materials/ore/galena.json @@ -0,0 +1,5 @@ +{ + "variants": { + "normal": { "model": "mmm:materials/ore/galena" } + } +} diff --git a/src/resources/assets/mmm/lang/en_US.lang b/src/resources/assets/mmm/lang/en_US.lang index 947f3cf..c0915a9 100644 --- a/src/resources/assets/mmm/lang/en_US.lang +++ b/src/resources/assets/mmm/lang/en_US.lang @@ -17,6 +17,8 @@ item.mmm.materials.stone.rock_salt.name=Salt Crystals tile.mmm.materials.ore.bauxite.name=Bauxite +tile.mmm.materials.ore.galena.name=Galena + item.mmm.materials.stone.coke.name=Coke item.mmm.materials.stone.slag.name=Slag item.mmm.materials.nugget.iron.name=Iron Nugget diff --git a/src/resources/assets/mmm/models/block/materials/ore/galena.json b/src/resources/assets/mmm/models/block/materials/ore/galena.json new file mode 100644 index 0000000..4e3c1f0 --- /dev/null +++ b/src/resources/assets/mmm/models/block/materials/ore/galena.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "mmm:blocks/materials/ore/galena" + } +} \ No newline at end of file diff --git a/src/resources/assets/mmm/models/item/materials/ore/galena.json b/src/resources/assets/mmm/models/item/materials/ore/galena.json new file mode 100644 index 0000000..32c69ac --- /dev/null +++ b/src/resources/assets/mmm/models/item/materials/ore/galena.json @@ -0,0 +1,3 @@ +{ + "parent": "mmm:block/materials/ore/galena" +} \ No newline at end of file diff --git a/src/resources/assets/mmm/textures/blocks/materials/ore/galena.png b/src/resources/assets/mmm/textures/blocks/materials/ore/galena.png new file mode 100644 index 0000000000000000000000000000000000000000..4a9cb0db12fa14e3843ee471770a36f084adcee6 GIT binary patch literal 397 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)0Pn*sE0W5GcY~;1OBO zz`!jG!i)^F=12eq*-JcqUD+S7v-9d%+}l;2#lXNQ<>}%WVsW}PcsE~@gTS8trhp3{ z`Ab4VLPS`kr0g2!Z&+ZkPe_zo7znkwxw#%MUvty9P3O+aqYimDZqB`H>vP#8WZF}f zGh1`DPi*qJcmENO{T7A`jkBJ&T=-z_c|fJ7Jlk}XCm<+1Z5m5}SEw)6FO#l06f{&B{X zquoa@l`YV&-@Lxvrd)?}k;bI18$0<Ry_) pKf7eB(auxr=I(AY)n|Ced}movOmkA