Port entitystatusevent

This commit is contained in:
ThisIsALegitUsername 2022-12-27 21:47:33 +00:00
parent 97078141ed
commit 7a659e230b
4 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
package dev.resent.event.impl;
import net.minecraft.src.Packet38EntityStatus;
import net.minecraft.network.play.server.S19PacketEntityStatus;
public class EntityStatusEvent extends Event{
public byte status;
public EntityStatusEvent(Packet38EntityStatus event){
this.status = event.entityStatus;
public EntityStatusEvent(S19PacketEntityStatus event){
this.status = event.logicOpcode;
}
}

View File

@ -28,7 +28,7 @@ import net.minecraft.world.World;
*/
public class S19PacketEntityStatus implements Packet<INetHandlerPlayClient> {
private int entityId;
private byte logicOpcode;
public byte logicOpcode;
public S19PacketEntityStatus() {
}