Commit Graph

63 Commits

Author SHA1 Message Date
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
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
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
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
3ee943c908 Removed unused items for now. 2022-01-12 17:19:12 +00:00
96d0af4ff6 Removed config options. 2022-01-12 17:18:54 +00:00
415b9dfa7d Disabled not used recipes temporarily. 2022-01-12 17:18:06 +00:00
9739f75516 Created new StrawTotemItem. 2022-01-12 17:17:18 +00:00
65ab8ed292 Optimized imports. 2022-01-12 17:16:23 +00:00
f3deb1b950 Changed capitalization of item names and added entry for item group. 2022-01-12 17:15:23 +00:00
d93d8c42e7 Added back register method. 2022-01-09 19:28:34 +00:00
03dcdb1223 Started rewrite. 2022-01-09 19:27:13 +00:00
b6fd8fd130 Created default item group. 2022-01-09 19:26:38 +00:00
1e6d52eaa7 Moved config initialization before registration. 2022-01-09 19:26:07 +00:00
78eaabc0d3 Started implementing config files for totems. 2022-01-09 19:25:43 +00:00
1c75dcbd28 Deleted old code. 2022-01-09 19:25:14 +00:00
f5a57a756f Created helper method for creating deferred registers. Changed variables to use camelCase. 2021-11-21 14:17:52 +00:00
0d55d23508 Changed variables to use camelCase. 2021-11-21 14:17:07 +00:00
c68c7a3c52 Removed constructor, changed variable names to use camelCase. 2021-11-21 14:16:14 +00:00
de06050fac Moved networking into its own class. 2021-11-21 09:52:59 +00:00
2fe110cec5 Created template for Config. 2021-11-21 09:52:14 +00:00