Skip to content

Add Piloting skill for flying entities - #130

Draft
dmccoystephenson with Copilot wants to merge 19 commits into
developfrom
copilot/add-piloting-skill-ghasts
Draft

Add Piloting skill for flying entities#130
dmccoystephenson with Copilot wants to merge 19 commits into
developfrom
copilot/add-piloting-skill-ghasts

Conversation

Copilot AI commented Jan 2, 2026

Copy link
Copy Markdown
Contributor

Implements a Piloting skill that allows players to gain experience and receive speed boosts while riding flying entities like ghasts, phantoms, and ender dragons.

Changes

New skill class

  • Piloting.java - Movement skill extending AbstractMovementSkill
  • Triggers on riding Flying entities (not just ghasts - supports all flying mobs)
  • Rewards with Speed III potion effect (30s) at 10% chance based on skill level
  • Uses ENTITY_GHAST_AMBIENT sound and custom message

Movement system updates

  • Added PILOTING to MovementSkillType enum
  • Added piloting distance tracking in AbstractMovementSkill.onMove()
  • Tracks movement over 8.0 distance threshold (squared) consistent with Riding/Boating

Configuration

  • Added message: "Your flying companion has received a Speed Boost!"
  • Registered skill in SimpleSkills.initializeSkills()

Example Usage

// Player rides a ghast, phantom, or ender dragon
if (player.getVehicle() instanceof Flying) {
    // Distance tracked, experience gained
    // 10% chance for Speed III boost on mount
}

Speed III used instead of Speed II (like Riding) since flying mobs are rarer and more challenging to ride.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • hub.spigotmc.org
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.11/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.11/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.11 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.11/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/SimpleSkills/SimpleSkills org.codehaus.plexus.classworlds.launcher.Launcher clean package (dns block)
  • jitpack.io
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.11/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.11/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.11 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.11/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/SimpleSkills/SimpleSkills org.codehaus.plexus.classworlds.launcher.Launcher clean package (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>A Piloting skill for happy ghasts to speed them up</issue_title>
<issue_description>A Piloting skill for happy ghasts to speed them up.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 4 commits September 21, 2025 16:06
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Copilot AI and others added 3 commits January 2, 2026 03:19
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Copilot AI changed the title [WIP] Add piloting skill for happy ghasts to speed them up Add Piloting skill for flying entities Jan 2, 2026
Copilot AI requested a review from dmccoystephenson January 2, 2026 03:26
dmccoystephenson and others added 12 commits January 5, 2026 19:40
…e() usage, and handle() active guard

Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
…thub.com:Dans-Plugins/SimpleSkills into copilot/fix-751a9037-3a32-417b-8065-948a85ffe2bd
… totals

Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
…17b-8065-948a85ffe2bd

Fix skill activation/deactivation persistence across server restarts
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Dans-Plugins/SimpleSkills/sessions/30bcb888-b3bd-40e1-896a-97e301aa5966
…g paths, Ponder install step, standardize repo links

Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Dans-Plugins/SimpleSkills/sessions/fbdfd48c-b863-4ded-bc3e-9825f2fc9cca
…-medieval-factions

Align documentation with Medieval Factions plugin conventions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants