Commit Graph
86 Commits
Author SHA1 Message Date
glowredman 439243b00a Add Localization (#25) 2024-12-30 18:18:34 -06:00
Jason Mitchell 2abb775696 Thread saftey (#24)
* Update BS

* Thread Safety
2024-05-26 12:41:45 +02:00
glowredman 76a1df6eff Add version to @Mod annotations (#23) 2024-02-12 23:35:09 +01:00
bombcarandMartin Robertz f4a9610e22 Re-add dependencies.info corrected, update BS etc (#22)
* read corrected dependencies.info

* update bs, dependencies, and settings.gradle

---------

Co-authored-by: Martin Robertz <[email protected]>
2024-01-10 00:26:17 +01:00
bombcar 794c3ca030 fix the rest 2024-01-02 13:07:44 -06:00
bombcar ee37e779fd partial maintain state 2024-01-02 13:02:02 -06:00
bombcar 5039fb8984 update to support 1.2.0 CCL - needs work to be more performant 2024-01-02 11:38:11 -06:00
Roadhog360andMartin Robertz d336cfbb67 Fix ButtonPart.java crashes, tweaks to allow mods to hook it (#20)
* Fix ButtonPart.java crashes, tweaks to allow mods to hook it
`ButtonPart`:
- Rewrite `getBounds()` to use a list generated from the button hitbox itself, instead of being a hardcoded list. Then mods like Et Futurum Requiem which change buttons only have to mix to `metaSideMap` and `sideMetaMap`
  - This adds an access transformer to get the button hitbox states, which are ordinarily private.
- Change `placement` to check if the corresponding side's value in `sideMetaMap` is `-1` instead of a hardcoded side check, so top/bottom is still unplaceable unless mods add it.
`McSidedMetaPart.java`:
- Fix crash from out of bounds side values from meta (notably in this commit, `-1` from buttons) by making any value below 0 or above 5 return false.

* update bs+sa+gradle+deps

* backdate ccl mod

* derp

---------

Co-authored-by: Martin Robertz <[email protected]>
2023-12-31 16:40:51 +01:00
Ryan Nasers ce032ee9a8 Potential Fix to some FMP stuff relating to Redstone parts not connecting to bottoms of machines. (#18)
* BS Update and spotlessApply

* Forgot this bit

* Changing a line that I'm not actually sure if it will break things
2023-11-25 15:33:31 +01:00
rjnasers 75958e3892 BS Update and spotlessApply 2023-11-06 17:23:20 +01:00
miozune 2f6bd45e4f Update build (#16)
* Update build

* spotlessApply
2023-06-27 17:23:32 +09:00
Alexdoru 909643e9a2 spell block correct 2023-02-05 20:12:29 +01:00
Alexdoru aa631173a2 unbind key by default and move key to its own category "Forge Multipart" 2023-02-05 20:10:56 +01:00
Alexdoru e3bf9e3b79 missing localisation for keybind name 2023-02-05 20:09:44 +01:00
Jason Mitchell 6b18eca613 [ci skip] spotlessApply with the new settings 2023-01-29 10:24:12 -08:00
Raven Szewczyk 1ba2172e8a Fix wrong asm types being used for TypeInsnNodes 2023-01-19 17:12:21 +00:00
Raven Szewczyk ed155c644c Apply spotless 2023-01-19 15:34:07 +00:00
Raven Szewczyk 12bc43c8d4 Remove logging of all microblock materials: -400kiB of logs on GTNH 2022-09-26 19:07:40 +01:00
Raven Szewczyk 3e877b618e Update codechickenlib 2022-09-18 22:04:11 +01:00
miozune 19a6540aff Ducttape crash 2022-05-25 16:55:12 +09:00
boubou_19 2e762a04c1 disabled recipe addition when NHCore is present 2022-01-08 14:59:58 +01:00
bombcar 24aa5f818e fix dependencies to use our github 2021-12-22 13:47:38 -06:00
ElNounch 5a36570a35 Can't call getReturnType on fields
Logged this uses :
[Client thread/DEBUG] [CCL ASM/ForgeMultipart]: jDesc = [Lcodechicken/multipart/TMultiPart;
[Client thread/DEBUG] [CCL ASM/ForgeMultipart]: jDesc = Ljava/util/LinkedList;
[Client thread/DEBUG] [CCL ASM/ForgeMultipart]: jDesc = Z

No one else suffered from this ?
2021-11-27 09:05:39 +01:00
Johann Bernhardt 5a4b21349e Moved resources and sources 2021-11-19 22:54:13 +01:00
D-Cysteine 9d50210c61 Fix passing out of bounds value to Block.getHarvestLevel() 2021-07-27 08:26:56 -06:00
Jason Mitchell ad1ad6da38 Guard against meta > 15 2021-03-07 10:01:36 -08:00
ultrasn0w 43b36e55cf Remove "after:*" for better mod compatibility 2016-04-02 16:18:12 +02:00
Chicken-Bones b524c69599 Fix NPE making exception tracing hard 2015-06-20 22:58:03 +10:00
Chicken-Bones 82174e96fb Added SideOnly support to scala mixins 2015-05-10 06:41:13 +10:00
Chicken-Bones dd928e7575 Fixed server crash from registering client microblock trait 2015-05-10 04:10:45 +10:00
Chicken-Bones 0d7abb2bbd Refactoring! 2015-05-10 04:09:42 +10:00
Chicken-Bones e1b50199bb Made base class call the onCompiled hook 2015-05-10 01:20:43 +10:00
Chicken-Bones 7abb1a885c Welp, those are bugs. Fixed resolution for scala objects and classes with the same name, common superclass check and missing bridge methods 2015-05-08 22:33:32 +10:00
Chicken-Bones 78560f53a3 Revert java mixin inheritance 2015-05-08 16:06:38 +10:00
Chicken-Bones 409b89b6a3 Lets not forget synchronisation 2015-05-08 03:54:10 +10:00
Chicken-Bones 00e6a9bb82 Added MicroblockGenerator, micro materials can now mix traits into the microblock class itself
Improved mixin compilation a bunch
2015-05-07 16:04:09 +10:00
Chicken-Bones a621ddbe84 Add missed class 2015-05-07 02:10:42 +10:00
Chicken-Bones c2e7bce54b Refactored, optimised and generified multipart class generation 2015-05-06 22:13:53 +10:00
Chicken-Bones 5c93e0da20 Add @SideOnly annotation to drawBreaking in TCuboidPart 2015-04-28 12:31:14 +10:00
Chicken-Bones 59110db9a3 Added the ability to construct parts from packet/nbt data 2015-04-04 22:13:32 +10:00
Chicken-Bones 7b4e763641 Fixed a placement bug for face parts 2015-04-03 15:41:31 +10:00
Chicken-Bones 6d981892af Switched microblocks to use registry names rather than unlocalised names 2015-04-02 11:17:29 +10:00
Chicken-Bones 734615e78b More cleaning and generalisation of microblock classes 2015-04-01 23:06:48 +10:00
Chicken-Bones 89f560ca8d Actually use scala traits how they deserve to be used in microblocks 2015-04-01 22:36:57 +10:00
Chicken-Bones 8f17874412 Let upright posts support torches on top. 2015-03-25 13:42:54 +10:00
Chicken-Bones ce6d36a9a8 Call world.markBlockForUpdate on part change for compatiblity with other world caches 2015-02-26 10:47:38 +10:00
Chicken-Bones a93d9cbbd9 Added option to use MC style icons for saws. Credit wiiv for icons 2015-01-29 19:21:58 +10:00
Chicken-Bones 81140fb48e Added back NEI subsets 2014-12-22 03:08:10 +10:00
Chicken-Bones 7ee2fd6dc0 Fix bug using old world references from respawned players 2014-12-21 17:04:09 +10:00
Chicken-Bones 96af741b1a Fix file name 2014-12-18 00:05:45 +10:00