Fix compile

This commit is contained in:
2026-05-30 15:24:20 +02:00
parent 983ad544c1
commit 273db91d06
4 changed files with 2 additions and 8 deletions
@@ -19,7 +19,6 @@
package de.steamwar.entity; package de.steamwar.entity;
import lombok.AccessLevel;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.network.syncher.EntityDataAccessor;
@@ -29,15 +28,14 @@ import org.bukkit.entity.EntityType;
import java.util.function.Consumer; import java.util.function.Consumer;
@Getter
public class RArmorStand extends REntity implements RInteractableEntity<RArmorStand> { public class RArmorStand extends REntity implements RInteractableEntity<RArmorStand> {
private static final EntityDataAccessor<Byte> sizeWatcher = new EntityDataAccessor<>(15, EntityDataSerializers.BYTE); private static final EntityDataAccessor<Byte> sizeWatcher = new EntityDataAccessor<>(15, EntityDataSerializers.BYTE);
@Getter
private final Size size; private final Size size;
@Setter @Setter
@Getter(AccessLevel.PRIVATE)
private REntityActionListener<RArmorStand> callback = null; private REntityActionListener<RArmorStand> callback = null;
public RArmorStand(REntityServer server, Location location, Size size) { public RArmorStand(REntityServer server, Location location, Size size) {
@@ -33,7 +33,6 @@ public class RFallingBlockEntity extends REntity implements RInteractableEntity<
private final Material material; private final Material material;
@Setter @Setter
@Getter(AccessLevel.PRIVATE)
private REntityActionListener<RFallingBlockEntity> callback = null; private REntityActionListener<RFallingBlockEntity> callback = null;
public RFallingBlockEntity(REntityServer server, Location location, Material material) { public RFallingBlockEntity(REntityServer server, Location location, Material material) {
@@ -20,7 +20,6 @@
package de.steamwar.entity; package de.steamwar.entity;
import de.steamwar.core.BountifulWrapper; import de.steamwar.core.BountifulWrapper;
import lombok.AccessLevel;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
import org.bukkit.Location; import org.bukkit.Location;
@@ -40,7 +39,6 @@ public class RInteraction extends REntity implements RInteractableEntity<RIntera
protected final Consumer<Object> updatePacketSink = o -> server.updateEntity(this, o); protected final Consumer<Object> updatePacketSink = o -> server.updateEntity(this, o);
@Setter @Setter
@Getter(AccessLevel.PRIVATE)
private REntityActionListener<RInteraction> callback = null; private REntityActionListener<RInteraction> callback = null;
private float interactionWidth = 1.0f; private float interactionWidth = 1.0f;
@@ -26,7 +26,6 @@ import de.steamwar.core.ProtocolWrapper;
import de.steamwar.network.CoreNetworkHandler; import de.steamwar.network.CoreNetworkHandler;
import de.steamwar.network.NetworkSender; import de.steamwar.network.NetworkSender;
import de.steamwar.network.packets.common.PlayerSkinRequestPacket; import de.steamwar.network.packets.common.PlayerSkinRequestPacket;
import lombok.AccessLevel;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
import net.minecraft.network.protocol.game.ClientboundAddEntityPacket; import net.minecraft.network.protocol.game.ClientboundAddEntityPacket;
@@ -51,7 +50,7 @@ public class RPlayer extends REntity implements RInteractableEntity<RPlayer> {
private final String name; private final String name;
@Setter @Setter
@Getter(AccessLevel.PRIVATE) @Getter
private REntityActionListener<RPlayer> callback = null; private REntityActionListener<RPlayer> callback = null;
public RPlayer(REntityServer server, UUID uuid, String name, Location location) { public RPlayer(REntityServer server, UUID uuid, String name, Location location) {