Commit graph

308 commits

Author SHA1 Message Date
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
fc26e84fa2 Added translation strings for the light gem 2019-02-08 17:55:41 +02:00
Sollace
4fff05a11f Fixed spellbook item model is far too large 2019-02-08 17:55:25 +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
80641176d3 Updated item models for cloud fences and banisters 2019-02-07 16:49:23 +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
4151721ce7 Fixed broken particle textures 2019-02-05 19:40:50 +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
40e9a9d2f3 Adjusted textures and models for mugs 2019-02-03 19:37:56 +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