Commit graph

27 commits

Author SHA1 Message Date
Sollace
b14e5c0d23 Earth ponies can now use the same dash ability as pegasi 2023-04-30 15:35:44 +01:00
Sollace
c665137a5c Move world-related stuff to a package 2023-04-30 10:46:33 +01:00
Sollace
5f1e6c24f0 Properly set players' race when joining. Should fix players getting stuck as humans when joining a server they played on before the mod was installed. 2023-01-21 00:28:59 +00:00
Sollace
a239d30cab Replace getEntity() with asEntity() and getReferenceWorld() with asWorld() 2022-12-19 18:13:15 +01:00
Sollace
34b9a54487 Add a method specifically for getting the wrapped entity and move away from using getMaster() for everything 2022-12-19 16:03:35 +01:00
Sollace
a01466cf01 Add a rarity factor in to tree drops 2022-10-07 00:30:51 +02:00
Sollace
2b00977e7f Clean up raytrace helper code 2022-10-01 18:20:53 +02:00
Sollace
88ba52efc5 Send a velocity update to the client when modifying player velocities. (should fix some instances of knockback not working when it should)
i.e.
When wearing the alicorn amulet,
When hit by a jar,
When hit by a polearm
When hit by an earth pony stomp
When kicked by an earth pony
When screeched at by a bat pony
2022-09-26 21:12:30 +02:00
Sollace
1cd3390b1e Fixed kicking apple trees not dropping the fruit 2022-09-25 13:58:10 +02:00
Sollace
9476b5634c Added granny smith apple trees and more related log blocks for zap apple trees
* Earth ponies can now kick zap and granny smith trees
* Kicking these types of trees will dislodge their fruit rather than spawn apples
2022-09-25 00:15:38 +02:00
Sollace
94d81ff5f5 Fix server exception when earth ponies try to kick things. Fixes #63 2022-09-23 16:06:07 +02:00
Sollace
e994b5e837 Earth ponies can now kick things other than trees 2022-09-21 22:58:07 +02:00
Sollace
32a23a6ca5 Added Trinkets support 2022-09-20 23:50:15 +02:00
Sollace
734c256822 Reimplemented the portal spell 2022-09-16 17:54:46 +02:00
Sollace
9e1b9161b8 Fixed crash due to naming conflict 2022-06-23 16:24:45 +02:00
Sollace
621c893daa Earth ponies can now kick at any time and the target location for the kick is more accurate to where a pony would kick. This means that if you're a pony, the tree has to be behind you. Humans still kick forwards. 2022-01-04 18:00:06 +02:00
Sollace
bce1e5c8c1 Added player animations for doing things like casting spells and kicking 2022-01-03 22:54:07 +02:00
Sollace
e9e238dd3d Remove the old WorldEvent util. This is no longer needed in 1.17 2021-08-25 14:22:11 +02:00
Sollace
1a211095ae Trees can now have mismatched trunks and leaves, and added support for trees added by mods with no explicit mapping 2021-08-20 23:52:17 +02:00
Sollace
58e4fd5ba9 Moved tree stuff to its own package 2021-08-20 22:25:46 +02:00
Sollace
121bcfb782 Moved tree detection to the server 2021-08-20 22:22:28 +02:00
Sollace
55e990882e 1.16.5 -> 1.17 2021-08-04 15:38:03 +02:00
Sollace
c59848544a Fixed exception when breaking trees (whilst not looking at one) Closes #33 2021-06-16 00:46:04 +02:00
Sollace
143ca8c655 If you happen to kick a tree with a bee's nest, you will inadvertantly anger the bees. 2021-02-13 13:51:01 +02:00
Sollace
0dc3860966 Rewrite and improve tree traversal 2021-02-13 13:50:24 +02:00
Sollace
52f643bba9 Damage the tree with each kick and only break it when destruction reaches 100% 2021-01-26 22:33:26 +02:00
Sollace
8aa0885112 Split kicking and stomping into separate abilities 2020-10-11 13:14:41 +02:00