Fixed brightness issue with crystals.
This commit is contained in:
parent
3fc6b5627f
commit
8077962e08
|
@ -56,12 +56,6 @@ public class BlockDemonCrystal extends Block
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean canRenderInLayer(EnumWorldBlockLayer layer)
|
|
||||||
{
|
|
||||||
return layer == EnumWorldBlockLayer.CUTOUT_MIPPED || layer == EnumWorldBlockLayer.TRANSLUCENT;
|
|
||||||
}
|
|
||||||
|
|
||||||
// public boolean canBlockStay(World worldIn, BlockPos pos, IBlockState state)
|
// public boolean canBlockStay(World worldIn, BlockPos pos, IBlockState state)
|
||||||
// {
|
// {
|
||||||
// return (worldIn.getLight(pos) >= 8 || worldIn.canSeeSky(pos)) && worldIn.getBlockState(pos.down()).getBlock().canSustainPlant(worldIn, pos.down(), net.minecraft.util.EnumFacing.UP, this);
|
// return (worldIn.getLight(pos) >= 8 || worldIn.canSeeSky(pos)) && worldIn.getBlockState(pos.down()).getBlock().canSustainPlant(worldIn, pos.down(), net.minecraft.util.EnumFacing.UP, this);
|
||||||
|
|
|
@ -210,6 +210,7 @@ public class ModBlocks
|
||||||
renderHelper.itemRender(InventoryRenderHelper.getItemFromBlock(pathBlock), 6);
|
renderHelper.itemRender(InventoryRenderHelper.getItemFromBlock(pathBlock), 6);
|
||||||
renderHelper.itemRender(InventoryRenderHelper.getItemFromBlock(pathBlock), 7);
|
renderHelper.itemRender(InventoryRenderHelper.getItemFromBlock(pathBlock), 7);
|
||||||
renderHelper.itemRender(InventoryRenderHelper.getItemFromBlock(demonCrystal));
|
renderHelper.itemRender(InventoryRenderHelper.getItemFromBlock(demonCrystal));
|
||||||
|
renderHelper.itemRender(InventoryRenderHelper.getItemFromBlock(demonPylon));
|
||||||
|
|
||||||
renderHelper.itemRender(InventoryRenderHelper.getItemFromBlock(dimensionalPortal));
|
renderHelper.itemRender(InventoryRenderHelper.getItemFromBlock(dimensionalPortal));
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"forge_marker": 1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": { },
|
||||||
|
"model": "bloodmagic:BlockDemonPylon.obj",
|
||||||
|
"custom": { "flip-v": true },
|
||||||
|
"transform": {
|
||||||
|
"translation": [ 0.5, 0, 0.5]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": [{
|
||||||
|
|
||||||
|
}],
|
||||||
|
"inventory": [{
|
||||||
|
"transform": {
|
||||||
|
"translation": [0.44, -0.1, 0.44]
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
# Blender MTL File: 'None'
|
||||||
|
# Material Count: 1
|
||||||
|
|
||||||
|
newmtl None
|
||||||
|
Ns 0
|
||||||
|
Ka 0.000000 0.000000 0.000000
|
||||||
|
Kd 0.8 0.8 0.8
|
||||||
|
Ks 0.8 0.8 0.8
|
||||||
|
d 1
|
||||||
|
illum 2
|
||||||
|
map_Kd bloodmagic:models/demonpylon
|
File diff suppressed because it is too large
Load diff
|
@ -2,12 +2,10 @@
|
||||||
# Material Count: 1
|
# Material Count: 1
|
||||||
|
|
||||||
newmtl Material.001
|
newmtl Material.001
|
||||||
Ns 96.078431
|
Ns 0
|
||||||
Ka 1.000000 1.000000 1.000000
|
Ka 0.000000 0.000000 0.000000
|
||||||
Kd 0.640000 0.640000 0.640000
|
Kd 0.8 0.8 0.8
|
||||||
Ks 0.500000 0.500000 0.500000
|
Ks 0.8 0.8 0.8
|
||||||
Ke 0.000000 0.000000 0.000000
|
d 1
|
||||||
Ni 1.000000
|
|
||||||
d 1.000000
|
|
||||||
illum 2
|
illum 2
|
||||||
map_Kd crystal
|
map_Kd crystal
|
|
@ -2,12 +2,10 @@
|
||||||
# Material Count: 1
|
# Material Count: 1
|
||||||
|
|
||||||
newmtl Material.001
|
newmtl Material.001
|
||||||
Ns 96.078431
|
Ns 0
|
||||||
Ka 1.000000 1.000000 1.000000
|
Ka 0.000000 0.000000 0.000000
|
||||||
Kd 0.640000 0.640000 0.640000
|
Kd 0.8 0.8 0.8
|
||||||
Ks 0.500000 0.500000 0.500000
|
Ks 0.8 0.8 0.8
|
||||||
Ke 0.000000 0.000000 0.000000
|
d 1
|
||||||
Ni 1.000000
|
|
||||||
d 1.000000
|
|
||||||
illum 2
|
illum 2
|
||||||
map_Kd crystal
|
map_Kd crystal
|
|
@ -2,12 +2,10 @@
|
||||||
# Material Count: 1
|
# Material Count: 1
|
||||||
|
|
||||||
newmtl Material.001
|
newmtl Material.001
|
||||||
Ns 96.078431
|
Ns 0
|
||||||
Ka 1.000000 1.000000 1.000000
|
Ka 0.000000 0.000000 0.000000
|
||||||
Kd 0.640000 0.640000 0.640000
|
Kd 0.8 0.8 0.8
|
||||||
Ks 0.500000 0.500000 0.500000
|
Ks 0.8 0.8 0.8
|
||||||
Ke 0.000000 0.000000 0.000000
|
d 1
|
||||||
Ni 1.000000
|
|
||||||
d 1.000000
|
|
||||||
illum 2
|
illum 2
|
||||||
map_Kd crystal
|
map_Kd crystal
|
|
@ -2,12 +2,10 @@
|
||||||
# Material Count: 1
|
# Material Count: 1
|
||||||
|
|
||||||
newmtl Material.001
|
newmtl Material.001
|
||||||
Ns 96.078431
|
Ns 0
|
||||||
Ka 1.000000 1.000000 1.000000
|
Ka 0.000000 0.000000 0.000000
|
||||||
Kd 0.640000 0.640000 0.640000
|
Kd 0.8 0.8 0.8
|
||||||
Ks 0.500000 0.500000 0.500000
|
Ks 0.8 0.8 0.8
|
||||||
Ke 0.000000 0.000000 0.000000
|
d 1
|
||||||
Ni 1.000000
|
|
||||||
d 1.000000
|
|
||||||
illum 2
|
illum 2
|
||||||
map_Kd crystal
|
map_Kd crystal
|
|
@ -2,12 +2,10 @@
|
||||||
# Material Count: 1
|
# Material Count: 1
|
||||||
|
|
||||||
newmtl Material.001
|
newmtl Material.001
|
||||||
Ns 96.078431
|
Ns 0
|
||||||
Ka 1.000000 1.000000 1.000000
|
Ka 0.000000 0.000000 0.000000
|
||||||
Kd 0.640000 0.640000 0.640000
|
Kd 0.8 0.8 0.8
|
||||||
Ks 0.500000 0.500000 0.500000
|
Ks 0.8 0.8 0.8
|
||||||
Ke 0.000000 0.000000 0.000000
|
d 1
|
||||||
Ni 1.000000
|
|
||||||
d 1.000000
|
|
||||||
illum 2
|
illum 2
|
||||||
map_Kd crystal
|
map_Kd crystal
|
|
@ -2,12 +2,10 @@
|
||||||
# Material Count: 1
|
# Material Count: 1
|
||||||
|
|
||||||
newmtl Material.001
|
newmtl Material.001
|
||||||
Ns 96.078431
|
Ns 0
|
||||||
Ka 1.000000 1.000000 1.000000
|
Ka 0.000000 0.000000 0.000000
|
||||||
Kd 0.640000 0.640000 0.640000
|
Kd 0.8 0.8 0.8
|
||||||
Ks 0.500000 0.500000 0.500000
|
Ks 0.8 0.8 0.8
|
||||||
Ke 0.000000 0.000000 0.000000
|
d 1
|
||||||
Ni 1.000000
|
|
||||||
d 1.000000
|
|
||||||
illum 2
|
illum 2
|
||||||
map_Kd crystal
|
map_Kd crystal
|
|
@ -2,12 +2,10 @@
|
||||||
# Material Count: 1
|
# Material Count: 1
|
||||||
|
|
||||||
newmtl Material.001
|
newmtl Material.001
|
||||||
Ns 96.078431
|
Ns 0
|
||||||
Ka 1.000000 1.000000 1.000000
|
Ka 0.000000 0.000000 0.000000
|
||||||
Kd 0.640000 0.640000 0.640000
|
Kd 0.8 0.8 0.8
|
||||||
Ks 0.500000 0.500000 0.500000
|
Ks 0.8 0.8 0.8
|
||||||
Ke 0.000000 0.000000 0.000000
|
d 1
|
||||||
Ni 1.000000
|
|
||||||
d 1.000000
|
|
||||||
illum 2
|
illum 2
|
||||||
map_Kd crystal
|
map_Kd crystal
|
Loading…
Reference in a new issue