99 Commits

Author SHA1 Message Date
5896655b45 Stopped throwing exception if mod versions are mismatched. forge-1.16.5-2.0.1 2022-01-19 02:36:05 +00:00
89c9d06341 Changed build Version to 2.0.1. 2022-01-19 02:35:28 +00:00
9108dea65b Added rarity values to the diamond and netherite totems as well as all the charges. 2022-01-19 02:29:56 +00:00
1dd161a99d Updated generated data. forge-1.16.5-2.0.0 2022-01-18 23:10:10 +00:00
ef91a20db9 Made netherite totem fire-resistant. 2022-01-18 23:07:52 +00:00
488349714a Cleaned up comments and imports. 2022-01-18 23:01:18 +00:00
fdbd055a70 Fixed canTotemAffordTarget returning true when it shouldn't. Added multiplier in the item tooltip. 2022-01-18 23:00:55 +00:00
bf92ccd455 Changed recipes for diamond totem and charge. 2022-01-18 23:00:05 +00:00
1125a5f411 Added onto messages. 2022-01-18 22:59:40 +00:00
d81f70145e Fixed recipe for netherite charge always being disabled. 2022-01-18 21:59:24 +00:00
66bdaa5a30 Removed ability to set charge cost limit to 0. Changed max value for multiplier to 100 from integer max. 2022-01-18 21:54:38 +00:00
2c8e0595fc Minor exception message changes. 2022-01-18 21:53:49 +00:00
b0a30961b3 Updated packet handle methods for new totem item methods. 2022-01-18 21:53:22 +00:00
e752c75ccd Replaced totem nbt target_cost with target_deaths. Added method for checking if totem is full and if totem can afford a target. Added more text in item tooltip for different config settings. 2022-01-18 21:52:47 +00:00
27a8d35c2d Generated all new data. 2022-01-18 20:02:48 +00:00
471f20da09 Created textures for the iron totem and charge and netherite totem and charge. Renamed files for diamond totem and charge. 2022-01-18 20:02:34 +00:00
10fbf9a994 Updated language file to include all new items. 2022-01-18 20:01:37 +00:00
a778ddf7c6 Created recipes for all items. 2022-01-18 20:01:21 +00:00
34e4438386 Registering all new items. 2022-01-18 20:01:10 +00:00
461cc00515 Added all new items into model gen. 2022-01-18 20:01:00 +00:00
43439972b8 Created config for new totems. 2022-01-18 20:00:29 +00:00
0819bf0262 Fixed imports. 2022-01-18 20:00:05 +00:00
643f0c48ea Created new totem items. 2022-01-18 19:59:28 +00:00
ce1a247ee4 Created new recipe serializer for charge items. 2022-01-18 19:58:32 +00:00
ea87552981 Implemented template class for charge items. Created new charge items for more totems. 2022-01-18 19:57:57 +00:00
0fceaf6f1d Implemented charge cost multiplier into getTargetCost method. Added new getRawTargetCost method and a validateTargetCost method. 2022-01-18 18:28:56 +00:00
e83ec0e5ce Replaced target cost validation with method call. Added check if totem can revive more expensive targets. 2022-01-18 18:27:55 +00:00
3f8ac8ddde Rewrote handle method to use new totem item class. Improved target checking. Method now checks if the target cost has been updated since. Changed method for teleporting target to hopefully fix an issue where target got stuck in 'limbo'. Added a success message. 2022-01-18 18:00:06 +00:00
c30803112a Rewrote handle method to use new totem item class. 2022-01-18 17:57:51 +00:00
ebbbff68c9 Rewrote handle method to use new totem item class. Fixed issue where it only got the dynamic target cost regardless of totem using dynamic or static cost types. 2022-01-18 17:57:20 +00:00
82a9399146 Implemented the StrawTotemItem and StrawChargeItem. 2022-01-18 17:55:22 +00:00
b78433acfb Now using the template TotemItem class. 2022-01-18 17:54:34 +00:00
6b4c1d2c6b Created a template class for totem items. 2022-01-18 17:53:37 +00:00
c53236d0e6 Fixed the mod version pattern and allowing dev builds to work with non dev builds. 2022-01-18 17:51:30 +00:00
de2b214bc7 Packet version info now sends a senderIsServer boolean to differentiate between client and server when throwing MismatchedVersionException. Hopefully fixed mod version pattern. 2022-01-17 15:41:14 +00:00
e1868ac200 Fixed item being unusable on dedicated servers. 2022-01-16 22:21:09 +00:00
2b1cdf98c1 Changed buildVersion to 2.0.0. 2022-01-16 22:20:49 +00:00
c9fcce403d Implemented reviving. 2022-01-16 20:49:39 +00:00
6e9e46e516 Added new config option for being able to revive targets across dimensions. 2022-01-16 20:49:20 +00:00
aeef78f910 Added missing model for the straw charge item. 2022-01-16 20:48:52 +00:00
efa7c16be4 Added totem charging functionality to StrawTotemItem. Changed getMaxCharge() method to be global. 2022-01-16 19:47:41 +00:00
151828e474 Optimized imports. 2022-01-16 19:46:01 +00:00
3395810362 Implemented totem charging. 2022-01-16 19:45:46 +00:00
1067cb3a9a Implemented target changing on totems. 2022-01-16 17:51:21 +00:00
861998df1b Added straw charge item. 2022-01-16 17:50:55 +00:00
811b993409 Removed old unused recipe field. 2022-01-16 16:51:52 +00:00
e0b25a31b2 Updated generated data. 2022-01-16 16:50:16 +00:00
d3613c5eda Changed SIDE_PROXY to PROXY and type ISideProxy. 2022-01-16 16:48:53 +00:00
b1975e912e Made Straw totem use new Extended Recipe builder. Created ModRecipes and registering new TOTEM_RECIPE serializer. Removed old events from Registration and added RECIPE_SERIALIZERS. Created new TotemRecipe for totem items. 2022-01-16 16:48:07 +00:00
350176d6f9 Created an ExtendedShapedRecipe and Builder. 2022-01-16 16:46:37 +00:00