This commit is contained in:
asofold 2018-08-26 10:27:38 +02:00
parent cc98d2dbce
commit fd679c842f
2 changed files with 5 additions and 5 deletions

View File

@ -59,16 +59,16 @@ public abstract class AbstractBukkitCentered implements BukkitShapeModel {
// TODO: Evaluate if (some) faces need to be inverted.
// End rod facing: the direction it points to.
switch (facing) {
case NORTH:
case EAST:
return new double[] {0.0, minDist, minDist,
length, maxDist, maxDist};
case SOUTH:
case WEST:
return new double[] {1.0 - length, minDist, minDist,
1.0, maxDist, maxDist};
case WEST:
case SOUTH:
return new double[] {minDist, minDist, 0.0,
maxDist, maxDist, length};
case EAST:
case NORTH:
return new double[] {minDist, minDist, 1.0 - length,
maxDist, maxDist, 1.0};
case DOWN:

View File

@ -37,7 +37,7 @@ public class BlocksMC1_9 implements BlockPropertiesSetup {
@Override
public void setupBlockProperties(WorldConfigProvider<?> worldConfigProvider) {
final long ground = BlockProperties.F_GROUND;
final long ground = BlockFlags.SOLID_GROUND; // BlockProperties.F_GROUND;
final BlockProps instant = BlockProperties.instantType;
// 198(END_ROD)