Upload files to "src/openonyx/configuration/internal"

This commit is contained in:
winterflyt committed 2026-11-30 05:44:44 +02:00
1 parent 8c6521ac2d
commit 1dd91b2f45
5 files changed
+114

No files matched your search

@@ -0,0 +1,23 @@
package openonyx.configuration.internal;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import openonyx.configuration.Event;
public class AttackEvent extends Event {
private final EntityPlayer entityPlayer;
private final Entity entity;
public Entity getEntity() {
return this.entity;
}
public EntityPlayer getEntityPlayer() {
return this.entityPlayer;
}
public AttackEvent(EntityPlayer entityPlayer, Entity entity) {
this.entityPlayer = entityPlayerx;
this.entity = entityx;
}
}
@@ -0,0 +1,14 @@
package openonyx.configuration.internal;
public enum EventStage {
PRE,
POST;
private static EventStage[] L() {
EventStage[] eventStages = new EventStage[2];
boolean bl = true;
eventStages[0] = PRE;
eventStages[1] = POST;
return eventStages;
}
}
@@ -0,0 +1,21 @@
package openonyx.configuration.internal;
import openonyx.configuration.Event;
public class HotbarSlotEvent extends Event {
private final int H;
private final Object e;
public HotbarSlotEvent(Object object, int i) {
this.e = object;
this.H = i;
}
public int L() {
return this.H;
}
public Object L() {
return this.e;
}
}
@@ -0,0 +1,29 @@
package openonyx.configuration.internal;
import openonyx.configuration.Event;
public class JumpEvent extends Event {
private float H;
private float e;
public void d(float f) {
this.H = f;
}
public float d() {
return this.H;
}
public float L() {
return this.e;
}
public JumpEvent(float f, float g) {
this.e = f;
this.H = g;
}
public void L(float f) {
this.e = f;
}
}
@@ -0,0 +1,27 @@
package openonyx.configuration.internal;
import openonyx.configuration.Event;
public class KeyEvent extends Event {
private final int f;
private final int H;
private final int e;
public int D() {
return this.f;
}
public int d() {
return this.H;
}
public int L() {
return this.e;
}
public KeyEvent(int i, int j, int k) {
this.H = i;
this.f = j;
this.e = k;
}
}