Port entitystatusevent
This commit is contained in:
parent
97078141ed
commit
7a659e230b
Binary file not shown.
Binary file not shown.
|
@ -1,13 +1,13 @@
|
||||||
package dev.resent.event.impl;
|
package dev.resent.event.impl;
|
||||||
|
|
||||||
import net.minecraft.src.Packet38EntityStatus;
|
import net.minecraft.network.play.server.S19PacketEntityStatus;
|
||||||
|
|
||||||
public class EntityStatusEvent extends Event{
|
public class EntityStatusEvent extends Event{
|
||||||
|
|
||||||
public byte status;
|
public byte status;
|
||||||
|
|
||||||
public EntityStatusEvent(Packet38EntityStatus event){
|
public EntityStatusEvent(S19PacketEntityStatus event){
|
||||||
this.status = event.entityStatus;
|
this.status = event.logicOpcode;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -28,7 +28,7 @@ import net.minecraft.world.World;
|
||||||
*/
|
*/
|
||||||
public class S19PacketEntityStatus implements Packet<INetHandlerPlayClient> {
|
public class S19PacketEntityStatus implements Packet<INetHandlerPlayClient> {
|
||||||
private int entityId;
|
private int entityId;
|
||||||
private byte logicOpcode;
|
public byte logicOpcode;
|
||||||
|
|
||||||
public S19PacketEntityStatus() {
|
public S19PacketEntityStatus() {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user