Commit Graph

78 Commits

Author SHA1 Message Date
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
b06b88780f Removed old packet class. 2022-01-16 16:46:02 +00:00
6ecf7c414d Removed old way of updating recipes based on config reload. Reason: doesn't work on server. 2022-01-16 16:45:27 +00:00
288a034d63 Fixed low limit for network versions. Fixed exception when mod version is NONE. 2022-01-16 13:58:00 +00:00
62abe17ad4 Fixed getVersion not returning the version. 2022-01-16 13:56:47 +00:00
73ed4ff729 Updated forge 36.2.16 -> 26.2.20. 2022-01-16 13:41:22 +00:00
e6dcde1caa Registered new packet in channel. 2022-01-16 13:34:37 +00:00
b7d29ecf27 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
438d543283 Created packet for updating recipes. 2022-01-16 13:33:17 +00:00
2667cdd658 Initializing Network class. 2022-01-16 13:08:52 +00:00
bb455e3d44 Created initial Network class with version checking. 2022-01-16 13:08:24 +00:00
78636c242d Created MismatchedVersionException. 2022-01-16 13:08:17 +00:00
1ca4de1f4a Added method for getting the mod version. 2022-01-16 13:07:29 +00:00
9470faafac Updated .gitignore 2022-01-12 17:25:17 +00:00
85cb9c653d Added new RecipeUpdateEventHandler for refreshing recipe list when config file changes. 2022-01-12 17:20:33 +00:00
caf5d4037f Removed unused Client and Common configs. Removed future totems for now. Updated TotemConfig class. 2022-01-12 17:20:06 +00:00
3097334020 Removed unused items for now. 2022-01-12 17:19:12 +00:00
db255f99a6 Removed config options. 2022-01-12 17:18:54 +00:00
69a84bb8fe Disabled not used recipes temporarily. 2022-01-12 17:18:06 +00:00
9cb6ccf8cd Created new StrawTotemItem. 2022-01-12 17:17:18 +00:00
517162fa4b Optimized imports. 2022-01-12 17:16:23 +00:00
ff79d89481 Changed capitalization of item names and added entry for item group. 2022-01-12 17:15:23 +00:00