Tested on multiple systems, appears to be an API compatibility issue involving the GossipContainer class:
[INFO] -------------------------------------------------------------
Error: COMPILATION ERROR :
[INFO] -------------------------------------------------------------
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[27,8] constructor GossipContainer in class net.minecraft.world.entity.ai.gossip.GossipContainer cannot be applied to given types;
required: net.minecraft.world.entity.npc.Villager
found: no arguments
reason: actual and formal argument lists differ in length
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[127,5] method does not override or implement a method from a supertype
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[132,5] method does not override or implement a method from a supertype
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[141,5] method does not override or implement a method from a supertype
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/NMSConverter.java:[237,20] no suitable method found for remove(net.minecraft.world.entity.ai.gossip.GossipType)
method net.minecraft.world.entity.ai.gossip.GossipContainer.remove(java.util.UUID,net.minecraft.world.entity.ai.gossip.GossipType,int,org.bukkit.entity.Villager.ReputationEvent) is not applicable
(actual and formal argument lists differ in length)
method net.minecraft.world.entity.ai.gossip.GossipContainer.remove(java.util.UUID,net.minecraft.world.entity.ai.gossip.GossipType,org.bukkit.entity.Villager.ReputationEvent) is not applicable
(actual and formal argument lists differ in length)
method net.minecraft.world.entity.ai.gossip.GossipContainer.remove(net.minecraft.world.entity.ai.gossip.GossipType,org.bukkit.entity.Villager.ReputationEvent) is not applicable
(actual and formal argument lists differ in length)
[INFO] 5 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for RealisticVillagers 3.3.3.6:
[INFO]
[INFO] RealisticVillagers ................................. SUCCESS [ 1.010 s]
[INFO] realisticvillagers-core ............................ SUCCESS [ 53.401 s]
[INFO] realisticvillagers-v1_18 ........................... SUCCESS [ 18.321 s]
[INFO] realisticvillagers-v1_19 ........................... SUCCESS [ 12.527 s]
[INFO] realisticvillagers-v1_20_1 ......................... SUCCESS [ 8.208 s]
[INFO] realisticvillagers-v1_20_2 ......................... SUCCESS [ 9.106 s]
[INFO] realisticvillagers-v1_20_4 ......................... SUCCESS [ 8.988 s]
[INFO] realisticvillagers-v1_20_6 ......................... SUCCESS [ 10.627 s]
[INFO] realisticvillagers-v1_21 ........................... SUCCESS [ 7.774 s]
[INFO] realisticvillagers-v1_21_4 ......................... FAILURE [ 11.569 s]
[INFO] realisticvillagers-dist ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:21 min
[INFO] Finished at: 2025-02-12T03:32:11Z
[INFO] ------------------------------------------------------------------------
Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project realisticvillagers-v1_21_4: Compilation failure: Compilation failure:
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[27,8] constructor GossipContainer in class net.minecraft.world.entity.ai.gossip.GossipContainer cannot be applied to given types;
Error: required: net.minecraft.world.entity.npc.Villager
Error: found: no arguments
Error: reason: actual and formal argument lists differ in length
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[127,5] method does not override or implement a method from a supertype
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[132,5] method does not override or implement a method from a supertype
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[141,5] method does not override or implement a method from a supertype
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/NMSConverter.java:[237,20] no suitable method found for remove(net.minecraft.world.entity.ai.gossip.GossipType)
Error: method net.minecraft.world.entity.ai.gossip.GossipContainer.remove(java.util.UUID,net.minecraft.world.entity.ai.gossip.GossipType,int,org.bukkit.entity.Villager.ReputationEvent) is not applicable
Error: (actual and formal argument lists differ in length)
Error: method net.minecraft.world.entity.ai.gossip.GossipContainer.remove(java.util.UUID,net.minecraft.world.entity.ai.gossip.GossipType,org.bukkit.entity.Villager.ReputationEvent) is not applicable
Error: (actual and formal argument lists differ in length)
Error: method net.minecraft.world.entity.ai.gossip.GossipContainer.remove(net.minecraft.world.entity.ai.gossip.GossipType,org.bukkit.entity.Villager.ReputationEvent) is not applicable
Error: (actual and formal argument lists differ in length)
Error: -> [Help 1]
Error:
Error: To see the full stack trace of the errors, re-run Maven with the -e switch.
Error: Re-run Maven using the -X switch to enable full debug logging.
Error:
Error: For more information about the errors and possible solutions, please read the following articles:
Error: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Error:
Error: After correcting the problems, you can resume the build with the command
Error: mvn -rf :realisticvillagers-v1_21_4
Error: Process completed with exit code 1.
Tested on multiple systems, appears to be an API compatibility issue involving the GossipContainer class:
[INFO] -------------------------------------------------------------
Error: COMPILATION ERROR :
[INFO] -------------------------------------------------------------
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[27,8] constructor GossipContainer in class net.minecraft.world.entity.ai.gossip.GossipContainer cannot be applied to given types;
required: net.minecraft.world.entity.npc.Villager
found: no arguments
reason: actual and formal argument lists differ in length
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[127,5] method does not override or implement a method from a supertype
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[132,5] method does not override or implement a method from a supertype
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[141,5] method does not override or implement a method from a supertype
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/NMSConverter.java:[237,20] no suitable method found for remove(net.minecraft.world.entity.ai.gossip.GossipType)
method net.minecraft.world.entity.ai.gossip.GossipContainer.remove(java.util.UUID,net.minecraft.world.entity.ai.gossip.GossipType,int,org.bukkit.entity.Villager.ReputationEvent) is not applicable
(actual and formal argument lists differ in length)
method net.minecraft.world.entity.ai.gossip.GossipContainer.remove(java.util.UUID,net.minecraft.world.entity.ai.gossip.GossipType,org.bukkit.entity.Villager.ReputationEvent) is not applicable
(actual and formal argument lists differ in length)
method net.minecraft.world.entity.ai.gossip.GossipContainer.remove(net.minecraft.world.entity.ai.gossip.GossipType,org.bukkit.entity.Villager.ReputationEvent) is not applicable
(actual and formal argument lists differ in length)
[INFO] 5 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for RealisticVillagers 3.3.3.6:
[INFO]
[INFO] RealisticVillagers ................................. SUCCESS [ 1.010 s]
[INFO] realisticvillagers-core ............................ SUCCESS [ 53.401 s]
[INFO] realisticvillagers-v1_18 ........................... SUCCESS [ 18.321 s]
[INFO] realisticvillagers-v1_19 ........................... SUCCESS [ 12.527 s]
[INFO] realisticvillagers-v1_20_1 ......................... SUCCESS [ 8.208 s]
[INFO] realisticvillagers-v1_20_2 ......................... SUCCESS [ 9.106 s]
[INFO] realisticvillagers-v1_20_4 ......................... SUCCESS [ 8.988 s]
[INFO] realisticvillagers-v1_20_6 ......................... SUCCESS [ 10.627 s]
[INFO] realisticvillagers-v1_21 ........................... SUCCESS [ 7.774 s]
[INFO] realisticvillagers-v1_21_4 ......................... FAILURE [ 11.569 s]
[INFO] realisticvillagers-dist ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:21 min
[INFO] Finished at: 2025-02-12T03:32:11Z
[INFO] ------------------------------------------------------------------------
Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project realisticvillagers-v1_21_4: Compilation failure: Compilation failure:
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[27,8] constructor GossipContainer in class net.minecraft.world.entity.ai.gossip.GossipContainer cannot be applied to given types;
Error: required: net.minecraft.world.entity.npc.Villager
Error: found: no arguments
Error: reason: actual and formal argument lists differ in length
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[127,5] method does not override or implement a method from a supertype
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[132,5] method does not override or implement a method from a supertype
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/CustomGossipContainer.java:[141,5] method does not override or implement a method from a supertype
Error: /home/runner/work/RealisticVillagers/RealisticVillagers/v1_21_4/src/main/java/me/matsubara/realisticvillagers/nms/v1_21_4/NMSConverter.java:[237,20] no suitable method found for remove(net.minecraft.world.entity.ai.gossip.GossipType)
Error: method net.minecraft.world.entity.ai.gossip.GossipContainer.remove(java.util.UUID,net.minecraft.world.entity.ai.gossip.GossipType,int,org.bukkit.entity.Villager.ReputationEvent) is not applicable
Error: (actual and formal argument lists differ in length)
Error: method net.minecraft.world.entity.ai.gossip.GossipContainer.remove(java.util.UUID,net.minecraft.world.entity.ai.gossip.GossipType,org.bukkit.entity.Villager.ReputationEvent) is not applicable
Error: (actual and formal argument lists differ in length)
Error: method net.minecraft.world.entity.ai.gossip.GossipContainer.remove(net.minecraft.world.entity.ai.gossip.GossipType,org.bukkit.entity.Villager.ReputationEvent) is not applicable
Error: (actual and formal argument lists differ in length)
Error: -> [Help 1]
Error:
Error: To see the full stack trace of the errors, re-run Maven with the -e switch.
Error: Re-run Maven using the -X switch to enable full debug logging.
Error:
Error: For more information about the errors and possible solutions, please read the following articles:
Error: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Error:
Error: After correcting the problems, you can resume the build with the command
Error: mvn -rf :realisticvillagers-v1_21_4
Error: Process completed with exit code 1.