Move config to annotation system
All old configs must be deleted for this to work properly. Since the rest of the update is filled with world breaking changes, this should be fine.
This commit is contained in:
parent
b0404599c2
commit
d587a8c96f
19 changed files with 251 additions and 494 deletions
src/main/java/WayofTime/bloodmagic/client/render/block
|
@ -24,7 +24,7 @@ public class RenderItemRoutingNode extends TileEntitySpecialRenderer<TileRouting
|
|||
|
||||
@Override
|
||||
public void render(TileRoutingNode tileNode, double x, double y, double z, float partialTicks, int destroyStage, float alpha) {
|
||||
if (mc.player.getHeldItemMainhand().getItem() instanceof INodeRenderer || ConfigHandler.alwaysRenderRoutingLines) {
|
||||
if (mc.player.getHeldItemMainhand().getItem() instanceof INodeRenderer || ConfigHandler.client.alwaysRenderRoutingLines) {
|
||||
List<BlockPos> connectionList = tileNode.getConnected();
|
||||
for (BlockPos wantedPos : connectionList) {
|
||||
BlockPos offsetPos = wantedPos.subtract(tileNode.getPos());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue