Commit graph

1772 commits

Author SHA1 Message Date
apple502j
5b5275af51 Fix overriding vanilla translations ()
(cherry picked from commit e82f21f7e9)
2024-10-26 15:55:27 +01:00
Jason Penilla
0f6c53cd2e Add ServerChunkEvents.Generate ()
* Add a new chunk generate event, fired alongside the chunk load event when a chunk is first upgraded to full status

* fix style

* Add logging test for generate event

After creating an SP world and waiting for all nearby chunks to generate (logging to stop), closing the SP world and opening it again should not log any fresh generation. Moving to an unexplored area will start logging again.

(cherry picked from commit 4402f4ee73)
2024-10-26 15:55:25 +01:00
SemmieDev
be1ed2d72d Remove LevelProperties check ()
(cherry picked from commit 6c3b5d4971)
2024-10-26 15:55:20 +01:00
Fabric Bot
7fd48375f5
New Crowdin updates ()
* New translations en_us.json (German)

* New translations en_us.json (Italian)

* New translations en_us.json (Russian)

* New translations en_us.json (Polish)

* New translations en_us.json (Russian)

* New translations en_us.json (Korean)
2024-10-26 15:53:18 +01:00
forgetmenot13579
e49211d8c6
AttachmentType Registration Enhancements ()
* - Add new method AttachmentRegistry#create that allows configuration of the registered attachment type with a builder.
- Migrate existing creation methods to use the new one under the hood for consistency.
- Moves all null checking from AttachmentRegistry to AttachmentRegistryImpl.BuilderImpl (most of them happened there as well already and were thus redundant).

* - Adds the ability to initialize an AttachmentType with only a path, substituting the mod ID of the registrant via an entrypoint.

* - Add registration safety checks

* - Add missing copyright header

* - Remove lazy entrypoint initialization of attachment types.

* - Import fixes

* - Update javadoc.

* - Use expression lambdas.

* - Fix style checks

* - More style fixes

* - Fix line endings

* - Move WheelInfo and initialization to test package
- Deprecate AttachmentRegistry#builder
- Update existing tests to use #create rather than #builder
2024-10-26 15:53:08 +01:00
Reece Mackie
6823f7cd48
fix: Add operator tab to common group list and filter for visible tabs in getPageCount. () 2024-10-21 09:38:25 +01:00
modmuss50
b6ed6c19bb Bump version 2024-10-15 15:21:08 +01:00
modmuss50
95bead5fff Fix tests 2024-10-15 14:41:59 +01:00
modmuss50
2986a625c7 Fix build after bad merge 2024-10-15 14:16:00 +01:00
BasiqueEvangelist
c0bdb897d1 Add support for Item-containing Items ()
* first steps toward container item support

* add bundle support

* Update fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/item/ContainerComponentStorage.java

Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com>

* address reviews + TIL ContainerItemContext#find exists

* address reviews of bundle code

---------

Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com>

(cherry picked from commit 4054068033)
2024-10-15 13:27:26 +01:00
IThundxr
83a9d3130d
Add Stripped Logs and Stripped Woods Tags ()
* Add Stripped Logs and Stripped Woods Tags

* run spotless

* Address review
2024-10-15 13:23:42 +01:00
TelepathicGrunt
dde8f6bb9c
Add more c fluid tags ()
* Add more `c` fluid tags

* fixed a javadoc

* Cleaned up javadoc

* checkstyle

* removed space

* Adjust experience rate to more reasonable amount

* explain perfect extractions

* fixed javadoc
2024-10-15 13:16:22 +01:00
Fabric Bot
487ccc21c8
New Crowdin updates ()
* New translations en_us.json (Polish)

* New translations en_us.json (Italian)

* New translations en_us.json (German)

* New translations en_us.json (Japanese)
2024-10-15 13:16:13 +01:00
Joseph T. McQuigg
29d3a7035e
Add Pie Item Tag c:foods/pie ()
Co-authored-by: modmuss <modmuss50@gmail.com>
2024-10-15 13:16:05 +01:00
modmuss50
3b9245a976 Bump version 2024-09-23 19:28:58 +01:00
modmuss50
d831205f6d Fix cherry pick issues 2024-09-23 19:19:42 +01:00
BasiqueEvangelist
5253a6d2b8 Add ItemVariant#withComponentChanges and FluidVariant#withComponentChanges ()
* add ItemVariant#withChanges and FluidVariant#withChanges

* withChanges -> withComponentChanges

* add TransferVariant#withComponentChanges

* make TransferVariant#withComponentChanges throw

(cherry picked from commit 1d5c24337f)
2024-09-23 18:48:31 +01:00
Joseph Burton
c7469b213f
Add access to ClientConfigurationNetworkHandler in context () 2024-09-23 18:47:02 +01:00
TelepathicGrunt
9d22c5fde0
Create c:obsidians block and item tag ()
* Create `c:obsidians`

* Add obsidians subtags
2024-09-23 18:46:54 +01:00
Fabric Bot
9d3173d557
New Crowdin updates ()
* New translations en_us.json (German)

* New translations en_us.json (Turkish)

* New translations en_us.json (Chinese Simplified)

* New translations en_us.json (Polish)

* New translations en_us.json (Czech)

* New translations en_us.json (Japanese)
2024-09-23 18:46:34 +01:00
TheDeathlyCow
d5debaed0e
Modify Enchantment and Fabric Component Map Builder Extensions ()
* modify effects event

* give impaling fire aspect

* add fabric component map builder

* change interface name to match event

* gametests for weird impaling enchantment

* fix checkstyle issues

* fabric map builder javadoc

* modify effects javadoc

* fix checkstyle issues

* prefer extension methods over add

* add enchantment source

* fix missing asterisk on fabricitemstack javadoc

* switch to enchantment builder

* fix effects list

* fix checkstyle

* add note on exclusive set to javadoc

* add fabric component builder extensions to default component testmod

* remove threadlocal usage from mixin

* remove modid prefix from accessors

* remove unused import

* fix recursive invoker

* add test to automatically check modified item name
2024-09-23 18:46:27 +01:00
modmuss50
e521378444 Bump version 2024-09-10 13:27:30 +01:00
modmuss
427f7cbfec Use unix line endings on all files ()
(cherry picked from commit f83d9a4a4d)
2024-09-10 13:17:44 +01:00
modmuss
d38f898f77 Add TransferVariant.getComponentMap() ()
* Add TransferVariant.getComponentMap()

* used the cached stack

* Even better

(cherry picked from commit 0771530439)
2024-09-10 13:17:38 +01:00
TelepathicGrunt
405385578e
Add missing minecraft:enchantable/vanishing to c:enchantables () 2024-09-10 13:15:33 +01:00
Fabric Bot
aa34100ae2
New Crowdin updates ()
* New translations en_us.json (Portuguese, Brazilian)

* New translations en_us.json (Malay)

* New translations en_us.json (Korean)

* New translations en_us.json (Malay (Jawi))

* New translations en_us.json (Malay (Jawi))

* New translations en_us.json (Malay (Jawi))

* New translations en_us.json (Polish)

* New translations en_us.json (Portuguese, Brazilian)
2024-09-10 13:15:21 +01:00
TelepathicGrunt
3d2379b573
Add c:animal_foods tag ()
* Add `c:animal_foods` tag

* checkstyle

* Spotless

* Add to lang generator

* Actually use the generated lang file

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2024-09-10 13:15:13 +01:00
modmuss50
f054fb578a Bump version 2024-08-26 12:11:37 +01:00
TheDeathlyCow
2122d828f0
After Damage Event ()
* after damage event

* add after damage event to testmod

* remove amount > 0 check to capture shield blocking

* add javadoc

* dont fire event if killed

* clarify javadoc a bit more

* fix checkstyle issue

* fix other checkstyle issues lol

* rename damageDealt to baseDamageTaken
2024-08-26 12:02:20 +01:00
AshyBoxy
3fc0e552c4
Dont invoke ItemGroupEvents.MODIFY_ENTRIES_ALL for the OP tab, when the OP tab is disabled () 2024-08-26 12:02:11 +01:00
Fabric Bot
9b16164179
Translation updates ()
* New translations en_us.json (Korean)

* New translations en_us.json (Japanese)

* New translations en_us.json (German)

* New translations en_us.json (Chinese Simplified)

* New translations en_us.json (Italian)
2024-08-26 12:01:36 +01:00
modmuss50
343cdcb01b 1.21.1 2024-08-11 17:23:06 +01:00
modmuss
e26765fae8
Install git in build workflow () 2024-08-11 15:13:09 +01:00
modmuss50
86f8729ec4 Bump versions 2024-08-11 15:00:10 +01:00
Fabric Bot
605f22add7
New Crowdin updates ()
* New translations en_us.json (Chinese Simplified)

* New translations en_us.json (German)

* New translations en_us.json (Italian)
2024-08-11 14:52:51 +01:00
Juuz
fc91317048
Add crop and nugget tags ()
* Add #c:nuggets/iron and #c:nuggets/gold

Closes .

* Add crop item tags

Everything but c:crops/cocoa_bean is already in NeoForge.

* Add more crop tags and documentation for #c:crops
2024-08-11 14:52:25 +01:00
modmuss
8b68f1c766
Fix handled screen not calling super.mouseReleased or super.mouseDragged () 2024-08-11 14:52:13 +01:00
modmuss
1db1cc1f63
Crafter support for the transfer api. ()
* Crafter support for the transfer api.
Closes 

* Review feedback
2024-08-11 14:52:04 +01:00
modmuss
dcbd126aea
Update grgit () 2024-08-11 14:51:54 +01:00
TelepathicGrunt
a1f763fa52
Add chorus fruit to c:foods/fruit tag ()
* Add an API to add additional supported blocks to block entity types. ()

(cherry picked from commit 40875a9333)

* Bump version

* Add chorus fruit to 1c:foods/fruit` tag

---------

Co-authored-by: modmuss <modmuss50@gmail.com>
2024-08-11 14:51:42 +01:00
modmuss50
e8bb7c8e9a Bump version 2024-08-07 18:52:06 +01:00
modmuss
40875a9333
Add an API to add additional supported blocks to block entity types. () 2024-08-07 18:39:15 +01:00
modmuss50
1daea21533 1.21.1-rc1 2024-08-07 16:54:26 +01:00
modmuss50
7363c44ea9 Bump version 2024-08-05 10:52:50 +01:00
modmuss
60c3209bf5
Revert registry sync changes. Allowing duplicate entries and vanilla clients on servers with modded registries. ()
* Revert "Prevent vanilla clients from joining servers that require modded registry entries. ()"

This reverts commit 8759e7555a.

* Revert "Throw the exception when a duplicate registry entry is found. ()"

* Keep javadoc fix
2024-08-05 10:51:31 +01:00
modmuss50
67e3cd4551 Bump version 2024-08-04 19:45:12 +01:00
modmuss
0a3a005780
Allow duplicate entries after being frozen on the client in prod. ()
* Allow duplicate entries after being frozen on the client.

* Only apply work around to prod
2024-08-04 19:44:12 +01:00
modmuss50
eccb723f8b Bump version 2024-08-04 14:31:07 +01:00
Patbox
8759e7555a
Prevent vanilla clients from joining servers that require modded registry entries. ()
* Prevent vanilla clients from joining servers that require modded registry entries
2024-08-04 14:10:27 +01:00
modmuss
66911b8fa5
Throw the exception when a duplicate registry entry is found. ()
* Actually throw the exception when a duplicate registry entry is found.

* Improve mixin
2024-08-04 13:53:18 +01:00