Upload files to "src/openonyx/configuration/internal"
This commit is contained in:
1 parent
1dd91b2f45
commit
0b50993b3c
5 files changed
+98
No files matched your search
@@ -0,0 +1,40 @@
|
||||
package openonyx.configuration.internal;
|
||||
|
||||
import openonyx.configuration.Event;
|
||||
import openonyx.utilities.MovementInputState;
|
||||
|
||||
public class MovementInputEvent extends Event {
|
||||
private boolean f;
|
||||
private boolean H;
|
||||
private MovementInputState movementInputState;
|
||||
|
||||
public void d(boolean bl) {
|
||||
this.f = bl;
|
||||
}
|
||||
|
||||
public MovementInputEvent(MovementInputState movementInputState, boolean bl, boolean bl1) {
|
||||
this.movementInputState = movementInputStatex;
|
||||
this.H = bl;
|
||||
this.f = bl1;
|
||||
}
|
||||
|
||||
public boolean D() {
|
||||
return this.H;
|
||||
}
|
||||
|
||||
public MovementInputState getMovementInputState() {
|
||||
return this.movementInputState;
|
||||
}
|
||||
|
||||
public void L(MovementInputState movementInputState) {
|
||||
this.movementInputState = movementInputStatex;
|
||||
}
|
||||
|
||||
public void L(boolean bl) {
|
||||
this.H = bl;
|
||||
}
|
||||
|
||||
public boolean d() {
|
||||
return this.f;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package openonyx.configuration.internal;
|
||||
|
||||
public enum PacketDirection {
|
||||
INCOMING,
|
||||
OUTGOING;
|
||||
|
||||
private static PacketDirection[] L() {
|
||||
PacketDirection[] packetDirections = new PacketDirection[2];
|
||||
boolean bl = true;
|
||||
packetDirections[0] = INCOMING;
|
||||
packetDirections[1] = OUTGOING;
|
||||
return packetDirections;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package openonyx.configuration.internal;
|
||||
|
||||
import net.minecraft.network.Packet;
|
||||
import openonyx.configuration.Event;
|
||||
|
||||
public class PacketEvent extends Event {
|
||||
private final Packet<?> packet;
|
||||
private final boolean H;
|
||||
private final PacketDirection packetDirection;
|
||||
|
||||
public Packet<?> getPacket() {
|
||||
return this.packet;
|
||||
}
|
||||
|
||||
public PacketEvent(PacketDirection packetDirection, Packet<?> packet, boolean bl) {
|
||||
this.packetDirection = packetDirectionx;
|
||||
this.packet = packetx;
|
||||
this.H = bl;
|
||||
}
|
||||
|
||||
public boolean d() {
|
||||
return this.H;
|
||||
}
|
||||
|
||||
public PacketDirection getPacketDirection() {
|
||||
return this.packetDirection;
|
||||
}
|
||||
|
||||
public PacketEvent(PacketDirection packetDirection, Packet<?> packet) {
|
||||
this(packetDirectionx, packetx, true);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package openonyx.configuration.internal;
|
||||
|
||||
import openonyx.configuration.Event;
|
||||
|
||||
public class PostJumpEvent extends Event {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package openonyx.configuration.internal;
|
||||
|
||||
import openonyx.configuration.Event;
|
||||
|
||||
public class PreTickEvent extends Event {
|
||||
}
|
||||
Reference in new issue
Block a user