Commit graph

469 commits

Author SHA1 Message Date
Sollace
10545adb66 Call the method through the state instead of the block 2019-03-02 18:02:39 +02:00
Sollace
412153cac4 Added changeling hive blocks 2019-03-02 12:16:23 +02:00
Sollace
c9d2c99ccc Revert: Don't use NaN! Seriously, it's a bad idea. Crashes everyplace. 2019-02-28 19:09:59 +02:00
Sollace
96085400fa Buuuuut don't enable it constantly. 2019-02-27 22:15:44 +02:00
Sollace
34ea069542 Make the GravityDelegate perform true to its name 2019-02-27 22:15:04 +02:00
Sollace
0ea59c1097 Added the gem of siphoning 2019-02-27 17:35:56 +02:00
Sollace
d69d1fcfb7 Fixed shields and shield rendering 2019-02-27 16:16:45 +02:00
Sollace
8006a160ee Added Dutch Doors 2019-02-24 19:44:24 +02:00
Sollace
a9485a82b3 Fixed being able to place doors and torches on inverted cloud slabs and stairs 2019-02-24 19:41:17 +02:00
Sollace
86c336dcee You can now place feathers (and some other choice items) into flower pots 2019-02-24 01:04:18 +02:00
Sollace
fd5004b1a2 Skeleton disguises will now have their arms in the correct pose when holding a bow 2019-02-23 17:09:30 +02:00
Sollace
5e5be1bf4e Fixed players still burning on respawn 2019-02-23 16:26:43 +02:00
Sollace
5502084b18 Reverse the burn check! Changelings disguised as mobs will burn in daylight if their mob does. 2019-02-23 16:03:57 +02:00
Sollace
ea2febfe4f Mobs will not see you whilst you're disguised (unless you attack them) 2019-02-23 15:53:47 +02:00
Sollace
7ee090bbff Fixed disguises not updating 2019-02-23 15:53:27 +02:00
Sollace
b9400cf805 Added moss 2019-02-23 15:23:24 +02:00
Sollace
ff7c400885 Fixed apple trees only producing rotten apples 2019-02-23 15:22:53 +02:00
Sollace
ad692abcd7 Fixed cloud door's not returning the correct item when middle clicked 2019-02-23 00:00:50 +02:00
Sollace
6980a578dd Trim and lean! 2019-02-23 00:00:10 +02:00
Sollace
710e7503cf The fattening! Fatten out all the loud locks! 2019-02-22 20:48:55 +02:00
Sollace
5108afc19f Adjusted player motion when talking on clouds 2019-02-21 20:06:05 +02:00
Sollace
c3029fe107 Fix indentation. What the hell!? 2019-02-21 19:27:34 +02:00
Sollace
ce77b6f140 Fixed not being able to use pick block on gems 2019-02-21 19:26:40 +02:00
Sollace
b11c3b5935 Made the portal tint slightly more blue 2019-02-21 19:21:04 +02:00
Sollace
600d9f7ce9 Fixed postal spells 2019-02-21 19:18:47 +02:00
Sollace
a0fa404767 Fixed gems inexplicably gaining one level when saving and reloading the world 2019-02-21 19:18:38 +02:00
Sollace
898e93d8b1 Gems will produce particles of the same colour as their magic 2019-02-21 18:57:05 +02:00
Sollace
a1da66272b Added a blue variant of wizard towers 2019-02-21 13:56:19 +02:00
Sollace
54246ab8a7 Fixed structures not spawning 2019-02-21 13:56:05 +02:00
Sollace
31dddf73a3 Added some more structures 2019-02-21 12:36:07 +02:00
Sollace
672f78d35e Flying in the rain is now more dangerous 2019-02-21 12:35:54 +02:00
Sollace
bb0718bbd3 Rewrote flying to be easier to control 2019-02-21 12:35:23 +02:00
Sollace
09d167765d Fix bauble detection Closes #3 2019-02-21 11:30:11 +02:00
Sollace
91e8c012ed Fix some issues *derp* 2019-02-20 19:02:02 +02:00
Sollace
1614a1b8b0 Start adding a gui for the various mod options 2019-02-20 18:55:30 +02:00
Sollace
fba999e0ff Added the Gem of burning 2019-02-20 17:24:26 +02:00
Sollace
7439352c7c Fixed page sorting 2019-02-20 17:23:05 +02:00
Sollace
3b2ffc0671 Rewrite gem recipes to pull from named pools of like items. It's not about the items, it's about the traits. 2019-02-20 15:13:04 +02:00
Sollace
a292cbb9fa Recipes can now handle multiple inputs/outputs 2019-02-20 13:59:22 +02:00
Sollace
5421196198 Fixed page buttons glinting when they shouldn't. 2019-02-19 18:01:55 +02:00
Sollace
8dca458610 Isolate ourselves and enable alpha so other mods can't mess with shield rendering 2019-02-19 17:54:12 +02:00
Sollace
a098e18100 Update the spellbook interface and rewrite the page about gems 2019-02-19 17:44:29 +02:00
Sollace
497b0f03b5 Added recipes for all the gems and items 2019-02-19 17:43:15 +02:00
Sollace
33534ecea5 Only allow the bauble version to go into the bauble slot (breaks shift-clicking) 2019-02-19 13:12:03 +02:00
Sollace
5cfe5a63d6 Forgot you need to apply the effects too 2019-02-19 12:49:38 +02:00
Sollace
373a2c64cd You will explode twice when the alicorn amulet breaks 2019-02-19 12:44:50 +02:00
Sollace
ee84215649 Make the damage source static 2019-02-19 12:09:39 +02:00
Sollace
18594d1f9a Strip translation calls and put them somewhere safe 2019-02-19 11:54:18 +02:00
Sollace
918dd852fd Fixed alicorn amulet not updating when worn as a bauble. 2019-02-19 10:45:28 +02:00
Sollace
8d1a7ea400 Cap attack amount and fixed alicorn amulet being damageable. 2019-02-19 10:41:59 +02:00
Sollace
6f725bb64c Move various update events to before player tick. Should help with vanishing drops on death. 2019-02-19 10:41:36 +02:00
Sollace
37ef2c0199 Monsers can't sleep in beds 2019-02-18 21:13:39 +02:00
Sollace
de202d131b Added an armour texture for the amulet 2019-02-18 20:19:55 +02:00
Sollace
7d4c6f512c Added baubles support 2019-02-18 19:48:06 +02:00
Sollace
900f5e6de0 Added the alicorn amulet 2019-02-17 19:22:11 +02:00
Sollace
a35ec07dcf Fixed darkness rendering with the encorrect state 2019-02-17 19:21:54 +02:00
Sollace
a98b027f0f Fixed spell entities not saving their affinity 2019-02-17 19:21:22 +02:00
Sollace
851c1650be Added a /disguise command 2019-02-17 02:03:55 +02:00
Sollace
eb0341b632 Fixed event not being cancelled 2019-02-17 02:03:31 +02:00
Sollace
afdec48090 Restructure! Remove all the subscribe events and shove them _waaaaaay_ in the back there. 2019-02-17 01:08:19 +02:00
Sollace
6a7c3131cc Always spawn particles for the darkness gem 2019-02-16 23:41:59 +02:00
Sollace
11076b2d38 Fixed some structure gen bugs 2019-02-16 23:41:27 +02:00
Sollace
f72a80be54 Add moar structures 2019-02-16 21:30:44 +02:00
Sollace
6bec00ab57 Fixed rainbows spawning too close together (they just have to fight it out) 2019-02-16 21:30:19 +02:00
Sollace
bbcfba31b7 Fixed various rendering issue with spheres 2019-02-16 21:29:51 +02:00
Sollace
34c924d758 Fixed the offsetting problem 2019-02-16 18:01:43 +02:00
Sollace
31e92ac25f Well that worked 2019-02-16 17:49:55 +02:00
Sollace
19d81acfc4 Start work on cloud structures 2019-02-16 14:43:22 +02:00
Sollace
ee53f83816 Added a second page to the book 2019-02-15 19:19:13 +02:00
Sollace
4dffafda01 Fixed spellbook still consuming items even if you haven't crafted anything 2019-02-15 17:36:03 +02:00
Sollace
7abd4cbae6 Fixed spell registry wiping out existing nbt when enchanting a stack 2019-02-15 17:28:10 +02:00
Sollace
45d5840f82 Fixed the assistant spell not properly preserving the state of its held spell 2019-02-15 16:09:15 +02:00
Sollace
1700ce9276 The light and dark gems will now interact with each other 2019-02-15 16:08:28 +02:00
Sollace
5e3316e232 Added the cursed gem of darkness 2019-02-14 22:59:11 +02:00
Sollace
6b66a09414 Added meadow brook's staff. It's a big stick. 2019-02-14 19:11:28 +02:00
Sollace
a7c81197a8 Added some incentive for changelings to seek out players 2019-02-14 14:37:47 +02:00
Sollace
35ffa71271 Fixed shadows rendering in the gui 2019-02-14 14:20:15 +02:00
Sollace
df7fe0e7f4 Some more adjustments to disguise rendering 2019-02-14 14:15:54 +02:00
Sollace
d3daa7337e The revealing gem will forever have the dual gem model 2019-02-13 22:58:12 +02:00
Sollace
3e893c44b9 Adjust the sound effect for when a spell is suppressed to be less heartstopping 2019-02-13 22:57:45 +02:00
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
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