NoteBot improvements
This commit is contained in:
parent
d60a58daea
commit
a8bb2928aa
|
@ -38,8 +38,8 @@ public class NotePlayer {
|
|||
this.sequencer.open();
|
||||
this.sequencer.setSequence(this.currentSequence);
|
||||
this.sequencer.start();
|
||||
this.sequencer.setMasterSyncMode(Sequencer.SyncMode.INTERNAL_CLOCK);
|
||||
this.sequencer.setTempoInBPM(120);
|
||||
this.sequencer.setMasterSyncMode(Sequencer.SyncMode.MIDI_SYNC);
|
||||
//this.sequencer.setTempoInBPM(100);
|
||||
|
||||
//int resolution = this.currentSequence.getResolution();
|
||||
}
|
||||
|
|
|
@ -269,6 +269,13 @@ public final class NoteBotModule extends Module {
|
|||
//GlStateManager.color(color[0] / 255.0F, color[1] / 255.0F, color[2] / 255.0F, 0.6F);
|
||||
//RenderUtil.drawBoundingBox(bb, 1.0f);
|
||||
}
|
||||
if (this.currentBlock != null) {
|
||||
final AxisAlignedBB bb = new AxisAlignedBB(
|
||||
this.currentBlock.getX() - mc.getRenderManager().viewerPosX, this.currentBlock.getY() + 1.0f - mc.getRenderManager().viewerPosY, this.currentBlock.getZ() - mc.getRenderManager().viewerPosZ,
|
||||
this.currentBlock.getX() + 1.0f - mc.getRenderManager().viewerPosX, this.currentBlock.getY() + 1.0f - mc.getRenderManager().viewerPosY, this.currentBlock.getZ() + 1.0f - mc.getRenderManager().viewerPosZ);
|
||||
GlStateManager.color(1F, 1F, 1F, 0.2F);
|
||||
RenderUtil.drawFilledBox(bb);
|
||||
}
|
||||
RenderUtil.end3D();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue