-
-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework diseases to become datapacks #10361
Conversation
I was planning to do this (you beat me to it 😁) but only in 1.21 to reduce compatibility headaches. Also putting the files inside |
# Conflicts: # src/main/java/com/minecolonies/api/compatibility/CompatibilityManager.java
src/main/java/com/minecolonies/api/entity/citizen/citizenhandlers/ICitizenDiseaseHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/colony/buildings/workerbuildings/BuildingHospital.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/colony/buildings/workerbuildings/BuildingHospital.java
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/datalistener/DiseasesListener.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/datalistener/DiseasesListener.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/minimal/EntityAISickTask.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/minimal/EntityAISickTask.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/minimal/EntityAISickTask.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/minimal/EntityAISickTask.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/workers/service/EntityAIWorkHealer.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/workers/service/EntityAIWorkHealer.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/workers/service/EntityAIWorkHealer.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/workers/service/EntityAIWorkHealer.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/workers/service/EntityAIWorkHealer.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/workers/service/EntityAIWorkHealer.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/workers/service/EntityAIWorkHealer.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/workers/service/EntityAIWorkHealer.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/workers/service/EntityAIWorkHealer.java
Outdated
Show resolved
Hide resolved
src/main/java/com/minecolonies/core/entity/ai/workers/service/EntityAIWorkHealer.java
Outdated
Show resolved
Hide resolved
# Conflicts: # src/main/java/com/minecolonies/core/entity/citizen/citizenhandlers/CitizenDiseaseHandler.java # src/main/resources/assets/minecolonies/lang/manual_en_us.json
src/main/java/com/minecolonies/core/entity/ai/workers/service/EntityAIWorkHealer.java
Show resolved
Hide resolved
# Conflicts: # src/main/resources/assets/minecolonies/lang/manual_en_us.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now, please do another testrun after the changes to make sure we don't break things =D
# Conflicts: # src/main/java/com/minecolonies/api/compatibility/CompatibilityManager.java # src/main/java/com/minecolonies/api/configuration/ServerConfiguration.java # src/main/java/com/minecolonies/api/entity/citizen/citizenhandlers/ICitizenDiseaseHandler.java # src/main/java/com/minecolonies/apiimp/initializer/InteractionValidatorInitializer.java # src/main/java/com/minecolonies/core/colony/buildings/workerbuildings/BuildingHospital.java # src/main/java/com/minecolonies/core/entity/ai/minimal/EntityAISickTask.java # src/main/java/com/minecolonies/core/entity/ai/workers/service/EntityAIWorkHealer.java # src/main/java/com/minecolonies/core/entity/citizen/citizenhandlers/CitizenDiseaseHandler.java # src/main/java/com/minecolonies/core/event/FMLEventHandler.java
Diseases use datapacks in favor of configuration values Upgraded the RandomCollection introduced in Rework lucky ores to become datapacks #10343 to allow for key based values Improved code regarding diseases by using more up-to-date code
Changes proposed in this pull request
Testing
Review please