Commit Graph

98 Commits

Author SHA1 Message Date
02e8f72f1d Changed build Version to 2.0.1. 2022-01-19 02:35:28 +00:00
7de486219c Added rarity values to the diamond and netherite totems as well as all the charges. 2022-01-19 02:29:56 +00:00
51f8d3802e Updated generated data. 2022-01-18 23:10:10 +00:00
257fe74ce0 Made netherite totem fire-resistant. 2022-01-18 23:07:52 +00:00
b63eed1a30 Cleaned up comments and imports. 2022-01-18 23:01:18 +00:00
6061fbef16 Fixed canTotemAffordTarget returning true when it shouldn't. Added multiplier in the item tooltip. 2022-01-18 23:00:55 +00:00
b5f7f84be8 Changed recipes for diamond totem and charge. 2022-01-18 23:00:05 +00:00
64ee220743 Added onto messages. 2022-01-18 22:59:40 +00:00
ec437a311b Fixed recipe for netherite charge always being disabled. 2022-01-18 21:59:24 +00:00
51e35baaea 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
e287e1522b Minor exception message changes. 2022-01-18 21:53:49 +00:00
78737964ca Updated packet handle methods for new totem item methods. 2022-01-18 21:53:22 +00:00
eaabceffa8 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
e8a7028e15 Generated all new data. 2022-01-18 20:02:48 +00:00
4873d007c6 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
50cb031474 Updated language file to include all new items. 2022-01-18 20:01:37 +00:00
15564f7f51 Created recipes for all items. 2022-01-18 20:01:21 +00:00
8e57755031 Registering all new items. 2022-01-18 20:01:10 +00:00
1665d93ede Added all new items into model gen. 2022-01-18 20:01:00 +00:00
6bfa92af58 Created config for new totems. 2022-01-18 20:00:29 +00:00
166bbdaa81 Fixed imports. 2022-01-18 20:00:05 +00:00
977ab02d3c Created new totem items. 2022-01-18 19:59:28 +00:00
30fdb80aee Created new recipe serializer for charge items. 2022-01-18 19:58:32 +00:00
822b267aae Implemented template class for charge items. Created new charge items for more totems. 2022-01-18 19:57:57 +00:00
80943e07fd Implemented charge cost multiplier into getTargetCost method. Added new getRawTargetCost method and a validateTargetCost method. 2022-01-18 18:28:56 +00:00
98c4354903 Replaced target cost validation with method call. Added check if totem can revive more expensive targets. 2022-01-18 18:27:55 +00:00
b60da8b8ac 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
7bd048106d Rewrote handle method to use new totem item class. 2022-01-18 17:57:51 +00:00
b0841efb6a 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
765fd37795 Implemented the StrawTotemItem and StrawChargeItem. 2022-01-18 17:55:22 +00:00
a8a68038c9 Now using the template TotemItem class. 2022-01-18 17:54:34 +00:00
7545e47bcc Created a template class for totem items. 2022-01-18 17:53:37 +00:00
4c752a862b Fixed the mod version pattern and allowing dev builds to work with non dev builds. 2022-01-18 17:51:30 +00:00
40d7153249 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
0e07f7554c Fixed item being unusable on dedicated servers. 2022-01-16 22:21:09 +00:00
58bddc601e Changed buildVersion to 2.0.0. 2022-01-16 22:20:49 +00:00
702aab0cbe Implemented reviving. 2022-01-16 20:49:39 +00:00
b7ad546854 Added new config option for being able to revive targets across dimensions. 2022-01-16 20:49:20 +00:00
72d4ae5908 Added missing model for the straw charge item. 2022-01-16 20:48:52 +00:00
d238a0f96a Added totem charging functionality to StrawTotemItem. Changed getMaxCharge() method to be global. 2022-01-16 19:47:41 +00:00
f6a1d63b33 Optimized imports. 2022-01-16 19:46:01 +00:00
fc52414016 Implemented totem charging. 2022-01-16 19:45:46 +00:00
a534c61f99 Implemented target changing on totems. 2022-01-16 17:51:21 +00:00
5759b7db96 Added straw charge item. 2022-01-16 17:50:55 +00:00
93b2c8c1e6 Removed old unused recipe field. 2022-01-16 16:51:52 +00:00
14687de3fd Updated generated data. 2022-01-16 16:50:16 +00:00
0dc26db333 Changed SIDE_PROXY to PROXY and type ISideProxy. 2022-01-16 16:48:53 +00:00
0ee99282e4 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
6e761cae67 Created an ExtendedShapedRecipe and Builder. 2022-01-16 16:46:37 +00:00
c60c54b6d7 Removed old packet class. 2022-01-16 16:46:02 +00:00