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;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
|
@ -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() {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user