Commit graph

2389 commits

Author SHA1 Message Date
Sollace
e9114f9e12
Fixed data not being copied when the player changes dimensions 2024-05-25 21:01:01 +01:00
Sollace
6057d8ea3b
Move flight check fixes to onTick() 2024-05-25 18:52:19 +01:00
Sollace
a6a19a4d4b
Remove broken wings logging 2024-05-25 15:54:45 +01:00
Sollace
8ba83934a3
Fix incorrect default for new players 2024-05-25 15:54:32 +01:00
Sollace
0b3f49e7fe
Ensure registration happens in order 2024-05-25 15:19:53 +01:00
Sollace
81db96d8a2
Compress nbt when sending it over the network 2024-05-25 15:03:26 +01:00
Sollace
1e3560fc04
Send tracked data in smaller packets to avoid large buffer allocation warnings being printed 2024-05-25 14:38:17 +01:00
Sollace
79d97adf0b
Implement attribute tooltips for all spells 2024-05-24 16:43:11 +01:00
Sollace
d1b3e8702a
Fix build 2024-05-23 20:23:44 +01:00
Sollace
6175605069
Don't tick disguises if the game is paused 2024-05-23 20:00:17 +01:00
Sollace
e22f181f41
Fixed rendering of multi-segment blocks 2024-05-23 19:59:56 +01:00
Sollace
98f612cd13
Fixed disguise orientation and door disguises. Fixes #259 2024-05-23 18:52:55 +01:00
Sollace
c61f2ce834
Add tooltip for area protection spell and make use of the cached radius from the Ether entry 2024-05-23 17:38:11 +01:00
Sollace
d909ee47f1
Fix dismiss animations on placed spells 2024-05-23 17:37:27 +01:00
Sollace
14084e270b
Fix tooltip details 2024-05-23 17:36:57 +01:00
Sollace
1ecb28e511
Move placed spell logic into the cast spell entity and fix portals mislinking/multilinking 2024-05-23 17:02:29 +01:00
Sollace
8a093a8a8b
Sync all spells onto the ether 2024-05-23 12:53:11 +01:00
Sollace
77de42dd09
Split the placed spell into separate types 2024-05-22 21:21:34 +01:00
Sollace
575c1f7438
Fixed placed spells not playing their death animations and/or getting stuck and impossible to remove 2024-05-22 21:21:08 +01:00
Sollace
2910b8d29c
Cleanup and sync placed spell owners 2024-05-22 15:25:35 +01:00
Sollace
e23cbcdd1c
Fixed placed and projectile spells not syncing their level correctly. Also fixes placed shields not rendering 2024-05-22 13:58:20 +01:00
Sollace
ca361049f5
Surface spell attributes to the user in gemstone tooltips 2024-05-22 13:57:44 +01:00
Sollace
9e2135fde3
Clean up player capabilities networking 2024-05-22 01:04:12 +01:00
Sollace
d824d5d701
Fix warning 2024-05-22 00:17:55 +01:00
Sollace
2f0adac616
Synchronize initial data to the client when an entity starts being tracked 2024-05-22 00:16:12 +01:00
Sollace
88cf90842f
Sync each spell individually 2024-05-21 23:52:02 +01:00
Sollace
771da650c4
Implement a custom data tracker to sync values dynamically. Fixes #14 2024-05-21 23:51:56 +01:00
Sollace
c1bcaaa78e
Properly fix casting 2024-05-21 23:31:36 +01:00
Sollace
4bac633a23
Remove the update argument when interacting with spell slots 2024-05-21 23:10:02 +01:00
Sollace
b9015c9220
Add synchronization to keep it from messing up 2024-05-21 22:53:07 +01:00
Sollace
f8f60a8d3d
Implement custom data tracker 2024-05-21 22:51:42 +01:00
Sollace
9f407dfb76
Revert "Change ether to use type keys"
This reverts commit 2ca337a8b813e2bf4fe3bd4949338aa476c568e4.
2024-05-21 22:51:42 +01:00
Sollace
d38a02dcd4
Fix: Fix reference losing traits when serializing 2024-05-21 22:51:42 +01:00
Sollace
1f2df6daf5
Fix: Fix casting
# Conflicts:
#	src/main/java/com/minelittlepony/unicopia/ability/UnicornCastingAbility.java

# Conflicts:
#	src/main/java/com/minelittlepony/unicopia/ability/UnicornCastingAbility.java
2024-05-21 22:51:42 +01:00
Sollace
7560df438c
Move server-affecting mixins to their own package 2024-05-20 16:02:52 +01:00
Sollace
80b885514f
Add broken wings status effect 2024-05-20 01:49:02 +01:00
Sollace
e819678307
Fixed fruit dropping more than they're supposed to (should only happen if you have fortune!!!)
Also removed the placeholder plunder vine drops.
2024-05-20 00:45:04 +01:00
Sollace
a1ed8e5319
Specters can now spawn with and carry equipment 2024-05-20 00:42:30 +01:00
Sollace
a42aaeefc0
Only spawn specters in dark areas 2024-05-19 20:23:38 +01:00
Sollace
b4126b839b
Configure skeletons to target flying players over players on the ground, and fire at them with more accuracy 2024-05-19 20:23:21 +01:00
Sollace
5d4c0d0dd0
Set world and position on mimic chests when rendering to make sure they render correctly 2024-05-19 18:27:22 +01:00
Sollace
648f1838e7
Fixed mimics rolling multiple times 2024-05-19 18:03:28 +01:00
Sollace
715519e1f1
Increase energy cost when flying over the void. Fixes #356 2024-05-19 00:17:34 +01:00
Sollace
2cdce6504c
Only regenerate when the pegasus has reached the ground. Fixes #356 2024-05-19 00:17:02 +01:00
Sollace
c09b02d8c8
Fix and add farmer's delight cutting table recipes for all the palm and zap wood blocks 2024-05-18 21:10:10 +01:00
Sollace
0c9c3caae2
Fixed unable to place palm signs on walls 2024-05-18 19:40:59 +01:00
Sollace
8a3abf5622
Display the amount of corruption you would gain from casting a spell 2024-05-18 14:55:41 +01:00
Sollace
95ffe5b0b5
Serialize spell type and traits together, and make affinity names translatable 2024-05-18 14:29:47 +01:00
Sollace
1d15630566
Properly replace existing spells when casting one with different traits. #353 2024-05-18 13:14:20 +01:00
Sollace
e053539d1b
Fixed earth ponies being able to stomp whilst flying with elytra and using riptide 2024-05-17 19:28:52 +01:00
Sollace
04298eefcf
Cancel stomps when moving upwards 2024-05-17 19:28:08 +01:00
Sollace
e6ec2083ef
Add a fortification status effect so earth ponies can see when they're fortified 2024-05-17 18:56:20 +01:00
Sollace
6a8c0d82ee
Ground pound now prevents fall damage. Fixes #351 2024-05-17 18:23:38 +01:00
Sollace
fffbee84e3
Add missing entity translations and set floating artefact to use the name of its item 2024-05-16 22:38:19 +01:00
Sollace
2fdd5b2730
Add fruit to the replaceable_by_trees tag to fix #352 2024-05-16 22:30:27 +01:00
Sollace
151f3604e6
Fixed client/server desync when applying status effects. Fixes #349 2024-05-16 22:21:46 +01:00
Sollace
59bdba6437
Fixed food poisoning probabilities being reversed - cooked had a higher chance of poisoning rather than lower 2024-05-16 22:21:20 +01:00
Sollace
09cecef68e
Fix quick moving items in the spellbook. Fixes #348 2024-05-16 21:42:58 +01:00
Sollace
f0b57a2bbf
Fix trait serialization. Fixes #342 2024-05-16 20:32:28 +01:00
Sollace
1260872a97
Merge branch '1.20.2' into 1.20.4 2024-04-27 12:27:16 +01:00
Sollace
11d36a3523
Merge branch '1.20.1' into 1.20.2 2024-04-27 12:24:20 +01:00
Sollace
89196c1adc
Fixed bat ponies not able to sleep through the day 2024-04-27 12:21:47 +01:00
Sollace
832b34f943
Merge branch '1.20.2' into 1.20.4 2024-04-26 17:30:28 +01:00
Sollace
6812acb5f7
Merge branch '1.20.1' into 1.20.2 2024-04-26 17:26:59 +01:00
Sollace
dd4c3f4d75
Datagen vanilla damagetype tags and painting variant tags 2024-04-26 17:19:49 +01:00
Sollace
28e5a49315
Add ad_astra dimensions to the dimension with no atmosphere tags 2024-04-26 17:05:14 +01:00
Sollace
a420c9ec38
Merge branch '1.20.2' into 1.20.4 2024-04-26 16:51:34 +01:00
Sollace
2d28bed961
Merge branch '1.20.1' into 1.20.2 2024-04-26 16:47:32 +01:00
Sollace
68025e4642
Fix respawning on cloud blocks 2024-04-26 16:40:43 +01:00
Sollace
dcaaca149b
Synchronise server configs to the client 2024-04-26 16:09:37 +01:00
Sollace
da38726bc0
Fixed server crash when ticking jar items 2024-04-26 15:14:13 +01:00
Sollace
9269c7bd69
Merge branch '1.20.2' into 1.20.4 2024-04-25 15:35:35 +01:00
Sollace
a67935c634
Merge branch '1.20.1' into 1.20.2 2024-04-25 15:33:11 +01:00
Sollace
cda4e5b0b6
Change ad-astra oxygen check to use the current location instead of the entity 2024-04-24 20:00:44 +01:00
Sollace
f84ef86546
Fix null camera crash 2024-04-24 19:41:14 +01:00
Sollace
498577294e
Redo ad_astra compat 2024-04-24 19:33:22 +01:00
Sollace
34afb1e087
Merge branch '1.20.2' into 1.20.4 2024-04-23 18:08:04 +01:00
Sollace
a48dffcf3a
Merge branch '1.20.1' into 1.20.2 2024-04-23 17:58:06 +01:00
Sollace
d83a3b0239
Fix compatibilty with HDSkins 2024-04-23 17:57:50 +01:00
Sollace
9bbbec3cf4
Update the thing for 1.20.4 changes 2024-04-23 15:59:21 +01:00
Sollace
f091521e1b
Merge branch '1.20.2' into 1.20.4 2024-04-23 15:29:21 +01:00
Sollace
80b5c4a5dc
Merge branch '1.20.1' into 1.20.2 2024-04-23 15:29:07 +01:00
Sollace
cda7ec1d9e
Move entity type and status effect tags to datagen 2024-04-23 15:28:49 +01:00
Sollace
8adaa062d3
Merge branch '1.20.2' into 1.20.4 2024-04-23 15:00:17 +01:00
Sollace
0be4aa1b4f
Fix build 2024-04-23 14:55:27 +01:00
Sollace
95abda651d
Merge branch '1.20.2' into 1.20.4 2024-04-23 14:52:08 +01:00
Sollace
fb216459b5
Merge branch '1.20.1' into 1.20.2 2024-04-23 14:51:47 +01:00
Sollace
a1d59b48bf
Slight tweaks to the wind particle 2024-04-23 14:51:33 +01:00
Sollace
03f4b4004e
Add spiral particle (wip) 2024-04-23 14:41:21 +01:00
Sollace
1545210efa
Added wind trail particles 2024-04-22 17:21:12 +01:00
Sollace
e51d82f37e
Added a visual effect when flying at high speeds 2024-04-21 23:51:59 +01:00
Sollace
96b14aa1c3
Fixed bumpy pegasus flight patterns (also fixed diving) 2024-04-21 23:07:30 +01:00
Sollace
bdedeeece4
Players can no longer use their abilities in spectator mode 2024-04-21 23:07:10 +01:00
Sollace
19f67c23c6
Incorporate the player's luck and allow it to turn back if left unattended 2024-04-21 18:51:30 +01:00
Sollace
22d6874102
Give them legs and they can breath underwater now 2024-04-20 17:20:18 +01:00
Sollace
f68be46b0c
Add new chest type 2024-04-18 21:09:15 +01:00
Sollace
292b034220
Merge branch '1.20.2' into 1.20.4 2024-04-17 11:59:21 +01:00
Sollace
22eaf9997c
Merge branch '1.20.1' into 1.20.2 2024-04-17 11:57:23 +01:00
Sollace
fd8a2f3f32
Fix one more warning 2024-04-12 01:27:56 +01:00
Sollace
136267f439
Use the newer api for the polearm renderer 2024-04-12 01:27:12 +01:00
Sollace
0a5ec3da03
Indicate whether an ability can actually do something for a selected activation type 2024-04-12 01:24:15 +01:00
Sollace
86faeeaa43
Clean up warnings 2024-04-12 01:23:43 +01:00
Sollace
3489c47d63
Make the VR keys respect the toggle option and display a visual feedback when they are being used 2024-04-12 00:50:03 +01:00
Sollace
408c9d11c0
Crystal doors can now be locked by providing them a signed bangle of comradery.
When locked they will only let the owner or players wearing a signed bangle through.
Also you can't cheat them
2024-04-11 19:37:25 +01:00
Sollace
b99c6b6c29
Move creative tabs to datagen 2024-04-11 18:15:10 +01:00
Sollace
9c744eb3eb
Added frog's legs 2024-04-11 15:42:35 +01:00
Sollace
59fbd177a2
Fixed diets not loading 2024-04-11 15:28:31 +01:00
Sollace
c78abf58be
Add poison effects to pufferfish 2024-04-11 14:47:36 +01:00
Sollace
7a42a2d35a
Merge branch '1.20.2' into 1.20.4
# Conflicts:
#	gradle.properties
2024-04-11 13:27:41 +01:00
Sollace
7abe3e4260
Merge branch '1.20.1' into 1.20.2
# Conflicts:
#	gradle.properties
2024-04-11 13:26:40 +01:00
Sollace
7e680549c7
Adjust starting size and decay rate of the black hole and add particles+item drops when decaying 2024-04-09 12:54:27 +01:00
Sollace
4a94c63e9b
Fixed seapony race appearing in the selection screen 2024-04-09 12:34:30 +01:00
Sollace
ca935ce224
Fixed error when setting race without specifying a namespace 2024-04-09 11:56:20 +01:00
Sollace
59d20f9e0f
Fix error message when trying to set an unknown race 2024-04-09 11:50:50 +01:00
Sollace
b8e2db12f0
Fixed bat ponies having both bat wings and icarus wings when wearing the wings of icarus 2024-04-09 11:48:36 +01:00
Sollace
1cab1bd16a
Fixed bat ponies having both bat and pegasus wings 2024-04-09 11:44:42 +01:00
Sollace
12748f5c6e
Fixed animations not being cancelled correctly when their timer ends. Fixes #325 2024-04-09 11:37:48 +01:00
Sollace
d5e4b69aec
Cancel velocity when changing dimensions. #329 2024-04-09 11:29:14 +01:00
Sollace
51d67d5215
Clean things up a little 2024-04-09 00:50:58 +01:00
Sollace
04f8827e28
Disable the dust cloud 2024-04-09 00:21:39 +01:00
Sollace
a8f0796ad7
Added sticky keys option. Fixes #322 2024-04-08 22:13:08 +01:00
Sollace
4cb06bcc92
Move ability assignment to the races 2024-04-08 20:46:06 +01:00
Sollace
281e2ba26d
Add unique gem designs for different spells 2024-04-08 19:18:56 +01:00
Sollace
978b5e9854
Fix decay animation and improve rendering a little 2024-04-08 17:49:44 +01:00
Sollace
d6d6984955
Fix some offset issues with the dark vortex spell 2024-04-08 16:55:10 +01:00
Sollace
e465a21839
Minor fixes to Ether and some owned style changes 2024-04-08 16:53:01 +01:00
Sollace
12bc0b6973
Rewrite the dark vortex to cause less lag and adjust/apply a cap to its maximum size 2024-04-07 20:27:15 +01:00
Sollace
ca2be7ae85
Set the max count for fried axolotl to 1 (same as other bucket foods) 2024-04-05 23:41:51 +01:00
Sollace
7140ce6d0e
Return the empty container when eating stacked food with containers 2024-04-05 23:41:32 +01:00
Sollace
34bdd7f135
Set rock stew's max count to 1 2024-04-05 23:32:14 +01:00
Sollace
fcba23c8ed
Fix codec issues (again) 2024-04-05 23:30:43 +01:00
Sollace
dc7a5debaa
Fix spell ingredient serializing 2024-04-05 22:38:37 +01:00
Sollace
1980cf634e
Merge branch '1.20.2' into 1.20.4
# Conflicts:
#	build.gradle
#	gradle.properties
#	src/main/java/com/minelittlepony/unicopia/advancement/CustomEventCriterion.java
#	src/main/java/com/minelittlepony/unicopia/advancement/RacePredicate.java
#	src/main/java/com/minelittlepony/unicopia/advancement/SendViaDragonBreathScrollCriterion.java
#	src/main/java/com/minelittlepony/unicopia/block/cloud/CloudPillarBlock.java
#	src/main/java/com/minelittlepony/unicopia/datagen/providers/URecipeProvider.java
#	src/main/java/com/minelittlepony/unicopia/diet/affliction/StatusEffectAffliction.java
#	src/main/java/com/minelittlepony/unicopia/item/HeavyProjectileItem.java
#	src/main/resources/data/unicopia/tags/items/food_types/forage_nauseating.json
2024-04-05 22:01:26 +01:00
Sollace
9219b07aff
Merge branch '1.20.1' into 1.20.2
# Conflicts:
#	BlockusAddon
#	build.gradle
#	gradle.properties
#	src/main/java/com/minelittlepony/unicopia/ability/magic/spell/crafting/SpellCraftingRecipe.java
#	src/main/java/com/minelittlepony/unicopia/ability/magic/spell/crafting/SpellEnhancingRecipe.java
#	src/main/java/com/minelittlepony/unicopia/ability/magic/spell/trait/SpellTraits.java
#	src/main/java/com/minelittlepony/unicopia/ability/magic/spell/trait/Trait.java
#	src/main/java/com/minelittlepony/unicopia/advancement/SendViaDragonBreathScrollCriterion.java
#	src/main/java/com/minelittlepony/unicopia/advancement/UCriteria.java
#	src/main/java/com/minelittlepony/unicopia/datagen/providers/URecipeProvider.java
#	src/main/java/com/minelittlepony/unicopia/entity/Living.java
#	src/main/java/com/minelittlepony/unicopia/entity/mob/AirBalloonEntity.java
#	src/main/java/com/minelittlepony/unicopia/recipe/URecipes.java
#	src/main/java/com/minelittlepony/unicopia/recipe/ZapAppleRecipe.java
#	src/main/resources/data/unicopia/loot_tables/blocks/apple_pie.json
2024-04-05 20:19:13 +01:00
Sollace
5529382e71
Move recipes to their own package 2024-04-05 18:33:24 +01:00
Sollace
8c83647004
Add cooked and rotten variants of all the fish 2024-04-05 17:10:39 +01:00
Sollace
d6e1a6c3b8
Fixed slime pustule not triggering a redstone update above it 2024-04-05 15:07:21 +01:00
Sollace
56e91629b1
Fix some tag references and fix diets not loading 2024-04-05 15:07:07 +01:00
Sollace
eeded18c36
Move pony diets to datagen. Summary of diets:
Unicorns:
 - have a general even preference of foods
 - Improved benefits from cooking their food before eating it
 - Can still eat raw and rotten but at a reduced yield

Earth Ponies:
 - Are vegans
 - They get the most from foraging
 - Pastries are their passion
 - If they must eat meat, they have to cook it and not let it spoil.
 - They have a sweet tooth and prefer candy, desserts, and rocks
 - Candy and rocks gives them a massive saturation boost. Maybe too much?

Pegasus
 - prefer fish over other food sources
 - Cannot eat love, or raw/rotten meat
 - Can eat raw and rotten fish but still prefers if they are cooked
 - Can safely eat fresh and cooked fish with no ill effects
 - Is less affected when eating rotten fish

Bat Ponies:
 - prefer cooked foods over raw, and meat/insects over fish
 - Doesn't like baked goods but really likes meats, fish, and insects
 - Gets food poisoning from eating rotten and raw meat
 - Can eat cooked meat and insects without negative effects
 - Becomes hyper when eating mangoes

Kirins:
 - Much like Earth Ponies, Kirins must cook their meat before they eat it
 - Cannot eat love, or raw/rotten meats and fish
 - Can eat cooked meat and insect without negative effects
 - Can eat blinding, prickly, strengthening, and glowing foraged foods without negative effects

Changelings:
 - like meat and fish but really prefer feasting on ponies' love directly from the tap
 - Doesn't like baked goods but really likes meats, fish, and insects
 - Can eat fish, meat, insects, and love without negative effects
 - Gets sick when eating foraged plants and vegetables

Hippogriffs:
 - like fish, nuts, and seeds
 - Can eat fish and prickly foods without negative effect
 - Gains more health from pinecones

Seaponies:
 - can eat seaweed, kelp, shells, and other undersea foods
 - Can eat fish without negative effect
 - Gains more health from pinecones
2024-04-05 14:06:29 +01:00
Sollace
171c786dec
Datagen food groups+
- add more variety in the foraging groups
- rebalance the probability of negative effects/food poisoning when eating the foraged things
- add groups for rotten insect
- moved fermented spider eye to the rotten insect category
- removed unused foraging_moderate category
- fixed incorrect tag reference breaking sapling eating
2024-04-04 20:22:10 +01:00
Sollace
734e75f8c8
Add proper item models and textures for the slime pustule and mysterious egg 2024-04-02 16:25:28 +01:00
Sollace
4f613ebb91
Adjust food categorizations and move some more tags to datagen 2024-04-02 11:27:38 +01:00
Sollace
a87257de83
Use the id of the food group as the name rather than the tag 2024-04-02 08:30:54 +01:00
Sollace
3bc1628fd4
Datagen loot tables and partially rewrite food 2024-04-01 23:39:21 +01:00
Sollace
77d1d62494
Fix build 2024-03-31 22:47:27 +01:00
Sollace
7d63797d4d
Jars can now hold fluids 2024-03-31 22:34:31 +01:00
Sollace
a81336ef88
Switch support for farmer's delight to farmer's delight refabricated 2024-03-31 16:47:40 +01:00
Sollace
ec9a12bdf9
Clean up tags and fix some recipe unlock conditions 2024-03-31 14:35:04 +01:00
Sollace
ea9c3bfaf9
Move more tags to datagen 2024-03-31 14:01:52 +01:00
Sollace
1503cb5773
Set butterfly spawn conditions to include more blocks 2024-03-31 02:38:59 +01:00