Commit Graph

84 Commits

Author SHA1 Message Date
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
a756a12c48 Removed old way of updating recipes based on config reload. Reason: doesn't work on server. 2022-01-16 16:45:27 +00:00
612f983343 Fixed low limit for network versions. Fixed exception when mod version is NONE. 2022-01-16 13:58:00 +00:00
8e36005bcf Fixed getVersion not returning the version. 2022-01-16 13:56:47 +00:00
b737ae487d Updated forge 36.2.16 -> 26.2.20. 2022-01-16 13:41:22 +00:00
b84c1dadc9 Registered new packet in channel. 2022-01-16 13:34:37 +00:00
c12c6dd462 Renamed RecipeUpdateEventHandler to UpdateRecipesEventHandler. Added method for mod config reload event on server-side to send packet to client. 2022-01-16 13:34:18 +00:00
0bacbb713e Created packet for updating recipes. 2022-01-16 13:33:17 +00:00
bfd7fb3c40 Initializing Network class. 2022-01-16 13:08:52 +00:00
e2acb573f5 Created initial Network class with version checking. 2022-01-16 13:08:24 +00:00
d2145b0095 Created MismatchedVersionException. 2022-01-16 13:08:17 +00:00
53e4099a30 Added method for getting the mod version. 2022-01-16 13:07:29 +00:00
0a474b1b7c Updated .gitignore 2022-01-12 17:25:17 +00:00
c4ae2ccbd3 Added new RecipeUpdateEventHandler for refreshing recipe list when config file changes. 2022-01-12 17:20:33 +00:00
9cbc63338f Removed unused Client and Common configs. Removed future totems for now. Updated TotemConfig class. 2022-01-12 17:20:06 +00:00