Commit graph

341 commits

Author SHA1 Message Date
Sollace
2bc338c5c2 Fixed some issues widh suppressed disguises 2019-02-13 22:56:49 +02:00
Sollace
1b93928361 Changeling disguises are negated by the spell of revealing if you get within 15 blocks of it 2019-02-13 22:47:44 +02:00
Sollace
78cfa7d515 Added Spell of Revealing 2019-02-13 22:46:37 +02:00
Sollace
f7dc68b4bd Update all the tint colours! 2019-02-13 22:46:06 +02:00
Sollace
4ba567d5e5 Added caster utils to easily find magically enabled entities in the world, and make it easier to get out an effect of a given type 2019-02-13 22:45:26 +02:00
Sollace
0ab3867b9d Now let's optimise this a bit. Fixes particle trails on shulker bullets 2019-02-12 17:57:41 +02:00
Sollace
64edc23f2e Can't reference client code from the server 0__0 2019-02-12 16:41:27 +02:00
Sollace
4585c11a6b Fixed projectile disguisess attacking their own player 2019-02-12 16:37:34 +02:00
Sollace
1828762c3d Added a subtle particle effect to disguised changelings 2019-02-12 16:36:26 +02:00
Sollace
17a5006db1 Added projectile entities to the list of things that can fly 2019-02-12 16:36:01 +02:00
Sollace
4b543b45ac Fixed disguise inventory rendering 2019-02-12 16:34:43 +02:00
Sollace
0d1f79bf71 Adjust the default particle spawn radius to include the player's thicc 2019-02-12 16:34:21 +02:00
Sollace
38daa43291 Fixed changelings being able to disguise themselves as various weather effects 2019-02-12 16:33:51 +02:00
Sollace
c02c72cc60 A changeling's bounding box and eye height will now match the entity they disguise themselves as 2019-02-12 15:25:48 +02:00
Sollace
3f0805b1d8 Fixed player skins, fixed disguises rendering at the observer's location, fixed players not being persisted correctly 2019-02-12 11:32:36 +02:00
Sollace
ea39dd0f98 Fixed various disguise bugs
- Fixed changeligns playing hurt sounds when flying whilst disguised as a player
 - Fixed invisible disguised changelings
 - Fixed disguised changelings not showing all the hat layer parts
 - Changeling disguises will work better with falling blocks and shulkers
2019-02-11 17:41:24 +02:00
Sollace
a687b0b8d5 Fixed spellbooks despawning 2019-02-10 22:37:01 +02:00
Sollace
422598d633 Also check the negative direction when determining if a rainbow can spawn 2019-02-10 21:09:26 +02:00
Sollace
675cea57b8 Fixed torches being placed on top of banisters 2019-02-10 14:37:46 +02:00
Sollace
9a3c8bc672 Fully implemented stone lamps (enchanted_torches) 2019-02-10 14:37:31 +02:00
Sollace
eeb35bba9c Fixed water not rendering behind shield particles 2019-02-09 22:54:56 +02:00
Sollace
d9dbf56b64 Fixed lighting on clouds 2019-02-09 22:15:12 +02:00
Sollace
9834507162 Fixed rainbows rendering on the wrong layer 2019-02-09 22:14:22 +02:00
Sollace
5d6588c9e8 Kicking now costs a proportionate amount of energy to the food 'coaxed' from the tree 2019-02-09 21:08:32 +02:00
Sollace
5f94aa6d5b Health is worth twice as much as hunger 2019-02-09 20:50:16 +02:00
Sollace
a8f79d31b4 Fixed crash when an earth pony tries to kick a tree during a world tick 2019-02-09 20:50:01 +02:00
Sollace
4cb2b6d0e0 Disable rolling and pitching for now. That had some weird side-effects 2019-02-09 20:15:58 +02:00
Sollace
18bbce8c0e Changelings can only fly whilst disguised if they're disguised as something that can fly 2019-02-09 20:15:15 +02:00
Sollace
c115acf69d Fixed hurt noises playing when disguises have a larger hitbox than changelings 2019-02-09 19:46:16 +02:00
Sollace
70ab3a025d Changelings can now disguise themselves as other players 2019-02-09 16:34:17 +02:00
Sollace
10ed8fe920 Added preliminary support for changelings disguised as players 2019-02-09 14:27:15 +02:00
Sollace
0d837f89da Decreased the cooldown time for the changeling feed ability 2019-02-09 14:26:49 +02:00
Sollace
259819c7dc Rewrote the commands 2019-02-09 14:26:03 +02:00
Sollace
0fd12b7ac1 Fixed indentations because I'm tired of coming across these in my commits... 2019-02-08 23:39:02 +02:00
Sollace
9abc072d7c Fixed "Pegasus changed race to Waterpicker" 2019-02-08 23:20:51 +02:00
Sollace
eacaea2898 Fixed changlings not being able to feed from players 2019-02-08 23:02:07 +02:00
Sollace
8c3ad677b9 Rewrote the spellbook pages system 2019-02-08 17:56:28 +02:00
Sollace
a4444814eb Use Mojang's code to check if a key is pressed. Fixes #1 2019-02-08 11:50:18 +02:00
Sollace
a094d68d5e Started adding a gem-based torch 2019-02-07 19:18:51 +02:00
Sollace
6329d5bd59 Fixed cloud fences and banisters connecting to each other 2019-02-07 16:31:15 +02:00
Sollace
58f72a783b Rewrite the changeling feed ability 2019-02-07 15:47:53 +02:00
Sollace
87cf0e7342 Capture drops from the stomp ability 2019-02-07 15:47:33 +02:00
Sollace
c0e8468ee8 Fixed abilities still playing their cooldown effect even if they failed 2019-02-07 15:47:06 +02:00
Sollace
43daaf0f6e Fixed creative mobe players can't break clouds blocks 2019-02-07 15:37:24 +02:00
Sollace
91109ba8bb Use the enum! It makes it clearer 2019-02-07 13:38:42 +02:00
Sollace
cfa36497b7 Spawning particles can now be done with an ICaster<> 2019-02-07 13:32:55 +02:00
Sollace
6cb2ee69b9 Clean up unused code 2019-02-07 13:17:04 +02:00
Sollace
168403b6e4 Flatten apples 2019-02-07 12:14:41 +02:00
Sollace
daa96b1246 Rewrote the apple type mapping 2019-02-07 11:46:59 +02:00
Sollace
0cebad1277 Style 2019-02-06 22:25:18 +02:00
Sollace
e8dd55ee20 Fix indentation 2019-02-06 22:24:22 +02:00
Sollace
c1d5203926 Added a disk particle. Will use this for portals, as soon as I figure out ovals... 2019-02-06 20:36:44 +02:00
Sollace
f95be4762e Package all the complex stuff into a class so I can reuse it. 2019-02-06 20:35:59 +02:00
Sollace
c2b4a07ecd Use a call list to speed up sphere rendering 2019-02-06 20:35:18 +02:00
Sollace
c76be4a461 Destroy connected alfalfa blocks when destroyed by a player. Might help with floating plants 2019-02-06 12:40:23 +02:00
Sollace
a3f12e4ea7 Added inventory rendering for changeling disguises 2019-02-06 12:33:42 +02:00
Sollace
c01a01a417 Rainbows now consider the sun's brightness and are less visible during the night 2019-02-06 11:40:58 +02:00
Sollace
0614d73072 Fixed sphere particles not respawning at long distances 2019-02-06 10:32:26 +02:00
Sollace
6507169c7e Fixed sphere particles not going away after a unicorn disables their spell 2019-02-06 10:32:03 +02:00
Sollace
545bd3a34b Rewrote spell levelling 2019-02-06 10:31:31 +02:00
Sollace
c3eb588f3c Fixed gem render location not matching its actual location 2019-02-06 10:30:49 +02:00
Sollace
6a17f1dd1c Fixed drake not updating when it grabs a spell, and make them stand at eye height 2019-02-05 22:47:48 +02:00
Sollace
2895e5881c Spells can now request an update by setting themselves as dirty on the server 2019-02-05 22:47:18 +02:00
Sollace
96cbffef02 Made shields look more like shields 2019-02-05 21:07:03 +02:00
Sollace
8cff3f3676 Fixed the helper gem's ai 2019-02-05 21:06:10 +02:00
Sollace
4e59f141b6 Fixed spell levels not being saved, fixed shields, fixed the drake gem 2019-02-05 14:44:35 +02:00
Sollace
765d647018 Fixed crash when apple saplings are destroyed 2019-02-05 11:32:17 +02:00
Sollace
cfc78f2f32 Added Gem of Assistance and Gem of inferno 2019-02-05 11:24:48 +02:00
Sollace
b976c3d0f3 Added awkward gems as a random rare drop 2019-02-05 11:20:55 +02:00
Sollace
7625f9eb93 Fixed apple trees not producing very many apples 2019-02-05 11:09:48 +02:00
Sollace
a3b0b7d507 Added beds and chests to the blocks with special placement conditions 2019-02-05 11:01:49 +02:00
Sollace
33e121b3db Fixed alfalfa causing a crash when attempting to grown into another block above it 2019-02-05 11:01:26 +02:00
Sollace
849ff4519a Changed block placement rules for clouds 2019-02-04 23:12:12 +02:00
Sollace
e6c0e4c14e Fixed being able to feed gems with items of the wrong affinity 2019-02-04 22:10:12 +02:00
Sollace
c06c6c6a05 Fixed gems dropping an item of the wrong affinity 2019-02-04 22:09:43 +02:00
Sollace
4033b48e24 Added awkward gems 2019-02-04 22:05:37 +02:00
Sollace
322419970b Added the necromancy trap gem 2019-02-04 21:24:10 +02:00
Sollace
0af6a52719 Spells now have their own affinity and can only be used with gems of a matching type 2019-02-04 20:29:37 +02:00
Sollace
79e9b310d3 Added cloud fences and banisters 2019-02-04 18:16:17 +02:00
Sollace
1f259a7e22 Added rainbows 2019-02-04 15:25:12 +02:00
Sollace
307e83770c Correct parameter names 2019-02-04 15:24:50 +02:00
Sollace
349df38f07 Fixed clouds still playing a raining sound to entities in a snowy biome 2019-02-04 15:24:30 +02:00
Sollace
3ba4f14183 Fixed death animation on disguise entities 2019-02-04 15:23:50 +02:00
Sollace
d4d1c2e586 Renamed the particles to match vanilla 2019-02-03 20:01:50 +02:00
Sollace
29af8f173d Added a changeling magic particle effect 2019-02-03 19:59:33 +02:00
Sollace
161f61b138 Fixed animations and burning states on disguised changelings 2019-02-03 19:58:54 +02:00
Sollace
ae49d43ddf Fixed cider not using the drink action 2019-02-03 19:37:38 +02:00
Sollace
96aa4fdc6d Fixed abilities not activating 2019-02-03 17:43:37 +02:00
Sollace
9798c10de3 Moved changeling feed to the O key by default 2019-02-03 17:43:23 +02:00
Sollace
72103173aa Reimplemented the cloud control powers for pegasi 2019-02-03 17:43:06 +02:00
Sollace
04145fa96a Fixed jittering disguises and fixed invisible changelings 2019-02-03 11:46:09 +02:00
Sollace
42ad67dd52 Fixed issues with ability triggering 2019-02-03 11:45:45 +02:00
Sollace
eb92e7f92e Added an options button. It doesn't do much, yet... 2019-02-02 22:34:27 +02:00
Sollace
23522e4f18 Fixed typo 2019-02-02 22:34:02 +02:00
Sollace
fd18f80c1f Fixed pegasi being able to pick up clouds as passengers 2019-02-02 18:50:48 +02:00
Sollace
d4948e0e37 Add a particle indicator for the shield spell ability 2019-02-02 18:50:34 +02:00
Sollace
c9354d7acb Implement shapeshifting for changelings 2019-02-02 18:50:15 +02:00
Sollace
08aacefc26 Fixed player abilities not being synchronised when switching dimensions 2019-02-02 13:23:49 +02:00
Sollace
5495d75260 Move the minelp code into one location 2019-02-02 13:23:22 +02:00
Sollace
6f8a2ea72e Fixed client crash due to missing class 2019-02-01 22:28:28 +02:00
Sollace
3fb6ef7fbe All items involving apples (vanilla or modded) should now work with every apple variant 2019-02-01 18:29:58 +02:00
Sollace
41dfb01d26 Docs 2019-02-01 18:28:52 +02:00
Sollace
f0db63dabf Little-known fact: Forge has a CraftingHelper. And that helper suppors nbt data. God I wish they'd document these things... 2019-02-01 14:26:00 +02:00
Sollace
d433c8a30c Items dropped by clouds will now float in place 2019-02-01 11:37:47 +02:00
Sollace
292b09d6e5 Fixed clouds taking a long time to burst 2019-02-01 11:37:11 +02:00
Sollace
e00df3aa18 Fixed clouds going straight down when spawned with an egg 2019-02-01 11:07:19 +02:00
Sollace
4189ebf425 Increased drop rates for clouds 2019-02-01 11:06:40 +02:00
Sollace
e6e69f3cbd Rename 2019-02-01 11:00:56 +02:00
Sollace
d838849df7 Adjust harmful effect so it doesn't fully kill you 2019-02-01 10:53:06 +02:00
Sollace
3d4f9c079b Fixed positions still rendering when they should be hidden 2019-02-01 10:48:07 +02:00
Sollace
d9e48ba603 Don't know what that changes but OK 2019-02-01 10:40:30 +02:00
Sollace
6b7193e0f4 Make it possible to escape a vortex 2019-02-01 10:40:17 +02:00
Sollace
1d9f3b3ae3 Added pigs to the feedable set of enties, increased the feeding distance, and changed effects on the eaten entity 2019-02-01 10:39:33 +02:00
Sollace
eaa2790116 Fixed and balanced food effects for changelings 2019-02-01 10:38:45 +02:00
Sollace
502ac54dfd Rebalanced flight cost 2019-02-01 10:00:43 +02:00
Sollace
63c51cae64 Reimplemented the vortex 2019-02-01 01:07:51 +02:00
Sollace
634ab607bf Fixed various issues with shields 2019-02-01 01:07:19 +02:00
Sollace
d5b387ef4d Fix gradle 2019-01-31 23:07:47 +02:00
Sollace
c3e1fbd398 Fixed item weight calculation in the Bag of Holding 2019-01-31 20:02:34 +02:00
Sollace
0ec870cd9f Fixed player walking speed changes due to heavy items 2019-01-31 19:17:11 +02:00
Sollace
37265afbfa Fixed crafting recipes for trick apples 2019-01-31 19:16:49 +02:00
Sollace
38ec547662 Fixed server crash when a player joins 2019-01-31 17:21:14 +02:00
Sollace
fd3edb01c4 Tall grass (the actual obtainable items) are now edible 2019-01-31 16:34:08 +02:00
Sollace
ad327c6831 Added toxicity indicators to more food items 2019-01-31 15:58:24 +02:00
Sollace
3129084f71 Added a potion effect and death message for food poisoning 2019-01-31 15:58:07 +02:00
Sollace
206ede0868 Fixed juice using the wrong animation 2019-01-31 14:28:17 +02:00
Sollace
22e05bcbb8 Added recipes for most new food items 2019-01-31 14:18:27 +02:00
Sollace
43b9064e32 Gem items no longer have metadata 2019-01-31 14:02:32 +02:00
Sollace
a3232bc263 Fixed models for toxicity variants 2019-01-31 14:01:23 +02:00
Sollace
61cb1ac78b Fixed edibles not returning their container item correctly 2019-01-31 12:29:26 +02:00
Sollace
8478c0a0da Added textures and translation keys for all the new items 2019-01-31 11:50:35 +02:00
Sollace
89cc446be7 Fixed apple textures 2019-01-30 22:26:05 +02:00
Sollace
7f91a0758c Added several new food items and changed how item variants are registered 2019-01-30 22:17:46 +02:00
Sollace
663d37a602 Fixed crash when logging in (maybe?) 2019-01-30 22:17:09 +02:00
Sollace
344b61e26c Fix whitespace 2019-01-30 15:50:24 +02:00
Sollace
37e9c17940 Added new cloud entity textures 2019-01-30 15:49:30 +02:00
Sollace
124612d02e Improved cloud IA 2019-01-30 15:49:15 +02:00
Sollace
70d97b4127 Fixed server crash when spawning clouds 2019-01-30 14:03:32 +02:00
Sollace
259b620f45 Changed cloud rendering on clouds to be more cloudy 2019-01-30 13:57:55 +02:00
Sollace
4de736507d Entity standing on cloud, moves with cloud 2019-01-30 13:26:46 +02:00
Sollace
b75ea7dfcf God damn it Forge. Whoever invented these @SideOnly annotations deserved to die and burn for eternity in the ninth circle of hell for their crimes 2019-01-30 12:43:42 +02:00
Sollace
e24eadca8a Fixed cloud spawning race??? 2019-01-29 17:56:16 +02:00
Sollace
9e2c2bfdd9 The ambient spawn list is insane! 2019-01-29 17:18:51 +02:00
Sollace
76eb83e2d2 Change spawning behaviour to work in packs 2019-01-29 17:18:32 +02:00
Sollace
c5c608fd35 Fixed cloud model being rendered at an encorrect offset 2019-01-29 17:17:02 +02:00
Sollace
5acefa2b84 Fixed cloud sizes 2019-01-29 16:28:18 +02:00
Sollace
1e9cfc92a7 Use the world cloud tint when rendering clouds 2019-01-29 16:27:48 +02:00
Sollace
b5e7bf673d Fixed cloud movement 2019-01-29 16:23:42 +02:00
Sollace
f90d6ae480 Added clouds to the spawn list 2019-01-29 15:22:36 +02:00
Sollace
841d326338 Human race is no longer a user settable race. You should only get it if some madman were to blacklist every race (which can be done by adding HUMAN alone to the whitelist). 2019-01-29 14:13:06 +02:00