Fix multipart issue on server
This commit is contained in:
@@ -210,6 +210,11 @@ public class BlockCable extends BlockCoverable {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public AxisAlignedBB getSelectedBoundingBoxDefault(IBlockState state, World worldIn, BlockPos pos) {
|
||||
return state.getBoundingBox(worldIn, pos).offset(pos);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RayTraceResult collisionRayTraceDefault(IBlockState state, World world, BlockPos pos, Vec3d start, Vec3d end) {
|
||||
RayTraceUtils.AdvancedRayTraceResult result = RayTraceUtils.collisionRayTrace(world, pos, start, end, getCollisionBoxes(this.getActualState(state, world, pos)));
|
||||
|
||||
@@ -59,7 +59,7 @@ public class TileDetector extends TileNode implements IComparable {
|
||||
((GuiDetector) gui).AMOUNT.setText(String.valueOf(parameter.getValue()));
|
||||
}
|
||||
}
|
||||
});
|
||||
}, 0);
|
||||
|
||||
private static final int SPEED = 5;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ public interface IPrioritizable {
|
||||
if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT && Minecraft.getMinecraft().currentScreen instanceof GuiStorage) {
|
||||
((GuiStorage) Minecraft.getMinecraft().currentScreen).updatePriority(parameter.getValue());
|
||||
}
|
||||
});
|
||||
}, 0);
|
||||
}
|
||||
|
||||
int getPriority();
|
||||
|
||||
@@ -105,7 +105,7 @@ public class TileGrid extends TileNode implements IGrid {
|
||||
if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT && Minecraft.getMinecraft().currentScreen instanceof GuiGrid) {
|
||||
((GuiGrid) Minecraft.getMinecraft().currentScreen).updateSearchFieldFocus(parameter.getValue());
|
||||
}
|
||||
});
|
||||
}, 0);
|
||||
|
||||
public static final String NBT_VIEW_TYPE = "ViewType";
|
||||
public static final String NBT_SORTING_DIRECTION = "SortingDirection";
|
||||
|
||||
Reference in New Issue
Block a user