Skip to content

Commit

Permalink
Fix Boat patch accidentally removing VariantHolder interface (neoforg…
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n authored Feb 22, 2024
1 parent 1e168a9 commit a35eeb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/net/minecraft/world/entity/vehicle/Boat.java.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.joml.Vector3f;

-public class Boat extends VehicleEntity implements VariantHolder<Boat.Type> {
+public class Boat extends VehicleEntity implements net.neoforged.neoforge.common.extensions.IBoatExtension {
+public class Boat extends VehicleEntity implements VariantHolder<Boat.Type>, net.neoforged.neoforge.common.extensions.IBoatExtension {
private static final EntityDataAccessor<Integer> DATA_ID_TYPE = SynchedEntityData.defineId(Boat.class, EntityDataSerializers.INT);
private static final EntityDataAccessor<Boolean> DATA_ID_PADDLE_LEFT = SynchedEntityData.defineId(Boat.class, EntityDataSerializers.BOOLEAN);
private static final EntityDataAccessor<Boolean> DATA_ID_PADDLE_RIGHT = SynchedEntityData.defineId(Boat.class, EntityDataSerializers.BOOLEAN);
Expand Down

0 comments on commit a35eeb2

Please sign in to comment.