Commit graph

1725 commits

Author SHA1 Message Date
modmuss50
231d328d32 1.20.5-pre4 2024-04-17 18:09:40 +01:00
TelepathicGrunt
276a811b29
Remove false legacy tag warning (#3717)
* Remove false legacy tag warning

* Unused import
2024-04-17 17:55:23 +01:00
apple502j
17e985d676
Fix ItemTooltipCallback crash (#3718) 2024-04-17 17:54:48 +01:00
Nathan
9479391359
Fix changeDimensions not using TeleportTarget.pitch (#3707) 2024-04-17 17:54:39 +01:00
modmuss50
e5abbac34b Bump version 2024-04-16 18:14:39 +01:00
TelepathicGrunt
7f945d5bb6
Refactor convention tags (#3310) 2024-04-16 18:01:57 +01:00
modmuss50
18de49c6d7 Specify loadDataPacks desc 2024-04-16 17:14:03 +01:00
modmuss50
b2a1ac47de 1.20.5-pre3 2024-04-16 15:17:20 +01:00
modmuss50
2a2c66b625 1.20.5-pre2 fixes 2024-04-15 17:01:26 +01:00
modmuss50
d4f1273d0b 1.20.5-pre2 2024-04-15 16:29:01 +01:00
modmuss50
cfb0a2d3d2 Bump version 2024-04-14 13:40:56 +01:00
apple502j
c5fc38b3f7
Finish port to 1.20.5-pre1 (#3706)
* Buildscript changes

* Particle API: port and some refactor

* Add support for Ingredient in FabricBrewingRecipeRegistry

* Add private ctor to ClientPlayerBlockBreakEvents

Not related to port, but something I've found during the process.
Also adds final to CommonLifecycleEvents.

* Fix Sound API testmod

* Fix broken javadocs

* Codec-related changes

* Document behavior of SUCCESS_NO_ITEM_USED in UseEntityCallback

* Add getEnabledFeatures

* checkstyle
2024-04-14 13:26:09 +01:00
Syst3ms
8f5205a8a1
Enchantment API (#3627)
* ALLOW_ENCHANTING event

* Intrinsic enchantments + testmod

also fixed a bug in the testmod that prevented the custom damage handler from ever working

* Item-based override mechanism

* Replaces part of the use cases of the event with a convenient method to override in FabricItem.
* Updated and tested the testmod.

* javadoc

* Move event logic to FabricItemStack

* oops

* Simplify mixin

* Replace ActionResult with TriState

* Use TriState in testmod

* requests

* Clarify jdoc

* Ship without intrinsic enchantments at first

* Checkstyle

* Checkstyle

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2024-04-10 23:02:11 +01:00
modmuss50
6793dde117 Fix EntityType.Builder for 1.20.5 2024-04-10 22:24:01 +01:00
modmuss
44e6689f3c Deprecate FabricEntityTypeBuilder & FabricBlockEntityTypeBuilder in favour of the vanilla classes (#3677)
* Replace FabricEntityTypeBuilder with EntityTypeBuilder + iface injection

* Finish and test entity type builder

* Deprecate FabricBlockEntityTypeBuilder

* Review fix

* Fixes based on review

* Some fixes

* Checkstyle
2024-04-10 22:18:43 +01:00
ToBinio
d73f365284 Fix links in transfer-api README.md (#3694) 2024-04-10 22:17:45 +01:00
Fabric Bot
aae0949a31 Translation updates (#3618)
* New translations en_us.json (Korean)

* New translations en_us.json (Vietnamese)

* New translations en_us.json (Korean)

* New translations en_us.json (Korean)

* New translations en_us.json (Vietnamese)

* New translations en_us.json (Korean)

* New translations en_us.json (Portuguese, Brazilian)

* New translations en_us.json (French)

* New translations en_us.json (Portuguese, Brazilian)

* New translations en_us.json (Estonian)

* New translations en_us.json (Malay)

* New translations en_us.json (Malay)

* New translations en_us.json (Malay)

* New translations en_us.json (German)

* New translations en_us.json (Czech)

* New translations en_us.json (Chinese Simplified)

* New translations en_us.json (Chinese Simplified)

* New translations en_us.json (Spanish, Chile)

* New translations en_us.json (Spanish, Chile)

* New translations en_us.json (Spanish, Chile)

* New translations en_us.json (Chinese Traditional)

* New translations en_us.json (Chinese Traditional)

* New translations en_us.json (Polish)

* New translations en_us.json (Toki Pona)

* New translations en_us.json (Toki Pona)
2024-04-10 22:17:25 +01:00
modmuss
74e2f560d5
1.20.5-pre1 (#3700)
* 1.20.5-pre1

* BrewingRecipeRegistryBuilderCallback

* Remove debug line

* Fix build

* Bump version
2024-04-10 19:02:33 +01:00
apple502j
3b6dc5deb2
[1.20.5] Codec-based Resource Conditions and refactors (#3690)
* Initial move to codec-based resource conditions

* Move default condition types to DefaultResourceConditionTypes

* Move built-in condition types to impl

* Run spotlessApply

* Move default condition registration to entrypoint in imp

* Formatting fixes

* Add back package-info.java

* Make it compatible with new DFU

* checkstyle

* Refactor FeaturesEnabledResourceCondition

* Pass RegistryWrapper and reduce reliance on statics

* Some more improvements

* Add back some tests

* Add more tests

* Add back tags_populated support, clean up code

* Some more improvements

* add javadocs (wip)

* Fix unfixed merge conflict

* Javadocs

* Fix null condition in addConditions

* Allow empty arrays in certain codecs

* Move addConditions to datagen impl

* Address reviews

* add debug log

* Store features in normal static field

* Fix TagsPopulatedResourceCondition#getType

---------

Co-authored-by: Apollo <102649729+Apollounknowndev@users.noreply.github.com>
2024-04-10 15:40:15 +01:00
modmuss50
9d8968f5a3 Fix release by reverting a change in 3844af0a25 2024-04-03 15:53:47 +01:00
modmuss50
e7bca6936e Actually run resources tests on Java 21 2024-04-03 15:50:07 +01:00
modmuss50
a0ecfaec3e Run client and resources tests on Java 21 2024-04-03 15:48:30 +01:00
modmuss50
f1e646e4d5 24w14a & Java 21 2024-04-03 15:46:52 +01:00
apple502j
97f703da44
Improve data attachment port (#3678)
* Bump yarn

* Apply yarn update

* Fix porting of Data Attachment block entity support

* Fix FrameBlockEntity testmod
2024-04-03 15:39:47 +01:00
modmuss50
3844af0a25 Update to Loom 1.6 2024-04-03 15:22:00 +01:00
modmuss
b21c00cb44
24w13a (#3676)
Fixes https://github.com/FabricMC/fabric/issues/3669

Co-authored-by: Drex <nicknamedrex@gmail.com>
2024-03-27 19:26:14 +00:00
Leximon
e78eae2df0
fix OpenScreenPayload title being decoded but not encoded (#3668) 2024-03-27 16:47:42 +00:00
apple502j
9b3069f652
Fully port to 24w12a (#3664)
* Bump yarn

* Apply yarn update

* Sync map decorations type registry

* Remove Mining Level API

* Port loot API

* whoops

* Rename LootManagerMixin

* Fix javadoc

* Fix registerGiftLootTable

* RegistryKey is traditionally compared using identity

* Fix wrong loot source being used
2024-03-27 16:47:29 +00:00
modmuss
e9d2a72b4f
24w12a (#3658)
# Removed
- FabricItemStack.isSuitableFor (replaced with vanilla component)
- FabricItemStack.getFoodComponent (replaced with vanilla component)
- ResourceReloadListenerKeys.LOOT_TABLES
- fabric-resource-conditions-api-v1 support for loot tables

# Disabled modules
- fabric-loot-api-v2
- fabric-mining-level-api-v1
2024-03-20 19:08:34 +00:00
modmuss50
3a09d40a83 Bump version 2024-03-18 09:24:37 +00:00
modmuss
dca7430480
Fix HopperBlockEntityMixin not applying. (#3653)
* Fix HopperBlockEntityMixin not applying.

* Fix direction
2024-03-18 09:16:33 +00:00
apple502j
4bc6fa7363
Fix bugs in resource loader (#3654)
* Fix builtin resource pack having wrong ID

* Turn off experiments warning
2024-03-18 09:16:23 +00:00
modmuss50
dac6c6d2c0 Bump version 2024-03-14 20:32:00 +00:00
modmuss
9342ba640d
Fix server play networking (#3648) 2024-03-14 20:30:19 +00:00
modmuss50
9bd9228c21 24w11a 2024-03-14 16:55:10 +00:00
modmuss50
15922910f6 Bump version 2024-03-12 10:51:02 +00:00
apple502j
f628d01844
[1.20.5] Add back custom data ingredient (#3642)
* [1.20.5] Add back custom data ingredient

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2024-03-12 10:31:21 +00:00
modmuss
168bf74f8b
Rename TransferVariant.componentsMatches -> componentsMatch (#3645) 2024-03-12 09:25:33 +00:00
modmuss
0e8f45ba8d
No longer specify gradle threads in github actions. (#3643) 2024-03-12 09:23:22 +00:00
apple502j
42c290b4ca
24w10a porting fixes (#3638)
* Rename mixin using unmapped name

* Fix potential crash in item API testmod

* Improve custom ingredient javadoc

* More javadoc improvements

* Add more tests

* whoops

* Fix typos

* Remove test for strict NBT matching

* another whoopsie

* Finish NBT -> components changes

Breaking change: `FabricItem#allowNbtUpdateAnimation` was renamed to
`allowComponentsUpdateAnimation`.

* Fix broken javadoc links

* Fix broken screen handler testmod
2024-03-12 09:22:55 +00:00
modmuss50
031f0cf067 24w10a 2024-03-06 16:40:52 +00:00
modmuss
403ef19793
Sync data component types registry (#3631) 2024-03-06 15:46:08 +00:00
modmuss50
29bc5c1b06 Bump version 2024-03-04 09:45:59 +00:00
modmuss
a93ecdadf3
Dont serialise empty transfer variant components (#3628) 2024-03-04 09:44:01 +00:00
maityyy
fc9addbd3c
Fix loot table provider not working after 24w09a port (#3630) 2024-03-04 09:43:50 +00:00
modmuss50
d20e1f08cb Bump version 2024-03-01 17:48:56 +00:00
modmuss
9d6d003f62
24w09a - Transfer API (#3626)
* First pass on transfer API

* More fixes

* Another fix

* Small fixes

* Move transfer API tests to junit

* Fix client run

* Small fixes

* Copy stack when component changes

* Small improvement

* More tests and docs fixes

* Mutate existing stack
2024-03-01 17:46:49 +00:00
modmuss50
2f977a43d9 Bump version 2024-02-29 19:21:21 +00:00
modmuss
1172e89799
24w09a (#3623)
* In game

* More fixes

* Small fixes + changes

* Rename

* Fix test
2024-02-29 19:16:35 +00:00
modmuss50
c81ced1dbb Bump version 2024-02-25 13:50:20 +00:00