Finished Wall framework, including the fancy break particles.
This commit is contained in:
parent
a62e377801
commit
74196dd67b
|
@ -5,9 +5,7 @@ import java.util.List;
|
|||
|
||||
import net.minecraft.block.SoundType;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
|
||||
import org.apache.commons.lang3.tuple.ImmutablePair;
|
||||
import org.apache.commons.lang3.tuple.Pair;
|
||||
|
||||
import WayofTime.bloodmagic.BloodMagic;
|
||||
|
@ -38,7 +36,7 @@ public class BlockDemonWallBase extends BlockStringWall implements IVariantProvi
|
|||
List<Pair<Integer, String>> ret = new ArrayList<Pair<Integer, String>>();
|
||||
|
||||
for (int i = 0; i < names.length; i++)
|
||||
ret.add(Pair.of(i, "east=false,north=false,south=false,type=" + names[i] + ",up=true,west=false"));
|
||||
ret.add(Pair.of(i, "east=true,north=false,south=false,type=" + names[i] + ",up=true,west=true"));
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -2,8 +2,11 @@
|
|||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"textures": {
|
||||
"wall": "bloodmagic:blocks/dungeon/dungeon_pillarheart"
|
||||
}
|
||||
"wall": "bloodmagic:blocks/dungeon/dungeon_pillarheart",
|
||||
"particle": "#wall"
|
||||
},
|
||||
"model": "bloodmagic:BlockBlank",
|
||||
"transform" : "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"up": {
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"elements": [
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 0, 0, 0 ],
|
||||
"faces": {
|
||||
"up": { "uv": [ 16, 0, 0, 16 ], "texture": "bloodmagic:empty" },
|
||||
"down": { "uv": [ 16, 0, 0, 16 ], "texture": "bloodmagic:empty" },
|
||||
"north": { "uv": [ 16, 0, 0, 16 ], "texture": "bloodmagic:empty" },
|
||||
"south": { "uv": [ 16, 0, 0, 16 ], "texture": "bloodmagic:empty" },
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "bloodmagic:empty" },
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "bloodmagic:empty" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in a new issue