20w12a
This commit is contained in:
1 parent
5efbbac663
commit
93806466a8
11 files changed
+31
-31
No files matched your search
@@ -185,7 +185,7 @@ public class BlockInfo
|
||||
lst.add(Messenger.s(String.format(" - Sound type: %s", soundName.get(block.getSoundGroup(state)))));
|
||||
lst.add(Messenger.s(""));
|
||||
//lst.add(Messenger.s(String.format(" - Full block: %s", block.isShapeFullCube()))); // isFullCube() )));
|
||||
lst.add(Messenger.s(String.format(" - Normal cube: %s", state.isSimpleFullBlock(world, pos)))); //isNormalCube())));
|
||||
lst.add(Messenger.s(String.format(" - Normal cube: %s", state.method_26212(world, pos)))); //isNormalCube()))); isSimpleFullBlock
|
||||
lst.add(Messenger.s(String.format(" - Is liquid: %s", material.isLiquid())));
|
||||
lst.add(Messenger.s(""));
|
||||
lst.add(Messenger.s(String.format(" - Light in: %d, above: %d",
|
||||
@@ -198,10 +198,10 @@ public class BlockInfo
|
||||
//lst.add(Messenger.s(String.format(" - Emitted light: %d", state.getLightValue())));
|
||||
//lst.add(Messenger.s(String.format(" - Picks neighbour light value: %s", state.useNeighborBrightness(world, pos))));
|
||||
lst.add(Messenger.s(""));
|
||||
lst.add(Messenger.s(String.format(" - Causes suffocation: %s", state.canSuffocate(world, pos))));
|
||||
lst.add(Messenger.s(String.format(" - Blocks movement on land: %s", !state.canPathfindThrough(world,pos, NavigationType.LAND))));
|
||||
lst.add(Messenger.s(String.format(" - Blocks movement in air: %s", !state.canPathfindThrough(world,pos, NavigationType.AIR))));
|
||||
lst.add(Messenger.s(String.format(" - Blocks movement in liquids: %s", !state.canPathfindThrough(world,pos, NavigationType.WATER))));
|
||||
lst.add(Messenger.s(String.format(" - Causes suffocation: %s", state.method_26228(world, pos)))); //canSuffocate
|
||||
lst.add(Messenger.s(String.format(" - Blocks movement on land: %s", !state.method_26171(world,pos, NavigationType.LAND)))); // canPathfindThrough
|
||||
lst.add(Messenger.s(String.format(" - Blocks movement in air: %s", !state.method_26171(world,pos, NavigationType.AIR)))); // canPathfindThrough
|
||||
lst.add(Messenger.s(String.format(" - Blocks movement in liquids: %s", !state.method_26171(world,pos, NavigationType.WATER)))); // canPathfindThrough
|
||||
lst.add(Messenger.s(String.format(" - Can burn: %s", material.isBurnable())));
|
||||
lst.add(Messenger.s(String.format(" - Requires a tool: %s", !material.isReplaceable()))); //?maybe
|
||||
lst.add(Messenger.s(String.format(" - Hardness: %.2f", state.getHardness(world, pos))));
|
||||
|
||||
@@ -110,7 +110,7 @@ public class PerimeterDiagnostics
|
||||
BlockState iblockstate_down = worldserver.getBlockState(pos.down());
|
||||
BlockState iblockstate_up = worldserver.getBlockState(pos.up());
|
||||
|
||||
if ( iblockstate.getMaterial() == Material.WATER && iblockstate_down.getMaterial() == Material.WATER && !iblockstate_up.isSimpleFullBlock(worldserver, pos))
|
||||
if ( iblockstate.getMaterial() == Material.WATER && iblockstate_down.getMaterial() == Material.WATER && !iblockstate_up.method_26212(worldserver, pos)) // isSimpleFUllBLock
|
||||
{
|
||||
result.liquid++;
|
||||
if (add_water && diagnostic.check_entity_spawn(pos))
|
||||
@@ -124,7 +124,7 @@ public class PerimeterDiagnostics
|
||||
}
|
||||
else
|
||||
{
|
||||
if (iblockstate_down.isSimpleFullBlock(worldserver, pos))
|
||||
if (iblockstate_down.method_26212(worldserver, pos)) // isSimpleFUllBLock
|
||||
{
|
||||
Block block = iblockstate_down.getBlock();
|
||||
boolean flag = block != Blocks.BEDROCK && block != Blocks.BARRIER;
|
||||
|
||||
@@ -96,7 +96,7 @@ public class WoolTool
|
||||
public static DyeColor getWoolColorAtPosition(World worldIn, BlockPos pos)
|
||||
{
|
||||
BlockState state = worldIn.getBlockState(pos);
|
||||
if (state.getMaterial() != Material.WOOL || !state.isSimpleFullBlock(worldIn, pos))
|
||||
if (state.getMaterial() != Material.WOOL || !state.method_26212(worldIn, pos)) //isSimpleFullBlock
|
||||
return null;
|
||||
return Material2Dye.get(state.getTopMaterialColor(worldIn, pos));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user