Commit graph

1761 commits

Author SHA1 Message Date
modmuss
a3dc8b6ac6
Fix Recipe Provider not calling generate (#4078)
* Fix Recipe Provider not calling generate

* Commit data generated files to repo
2024-09-10 13:17:13 +01:00
modmuss
0771530439
Add TransferVariant.getComponentMap() (#4074)
* Add TransferVariant.getComponentMap()

* used the cached stack

* Even better
2024-09-10 13:17:01 +01:00
TelepathicGrunt
4854df7166
Print the full stack trace from the dedicated server watchdog (#4052)
* Port FullSTackWatchdog

* spotless

* checkstyle

* fixed package

* added test mod

* checkstyle
2024-09-10 13:16:48 +01:00
TelepathicGrunt
64afec5a95 Add missing minecraft:enchantable/vanishing to c:enchantables (#4058)
(cherry picked from commit 405385578e)
2024-09-10 13:16:06 +01:00
Fabric Bot
338fe968f1 New Crowdin updates (#4059)
* 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)

(cherry picked from commit aa34100ae2)
2024-09-10 13:16:03 +01:00
TelepathicGrunt
d0d4386aaf Add c:animal_foods tag (#4080)
* Add `c:animal_foods` tag

* checkstyle

* Spotless

* Add to lang generator

* Actually use the generated lang file

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
(cherry picked from commit 3d2379b573)
2024-09-10 13:16:01 +01:00
modmuss
d48ec150ba
24w36a (#4068)
Some checks failed
Build / build (21-ubuntu) (push) Has been cancelled
Build / client_test (push) Has been cancelled
Build / server_test (push) Has been cancelled
Build / check_resources (push) Has been cancelled
* 24w36a

* Some fixes

* More work

* Fixes

* Update yarn

* Update fabric loader

* Bump versions
2024-09-05 11:42:30 +01:00
modmuss
2ade441e60
Remove CoreShaderRegistrationCallback as its no longer required. (#4063)
Some checks are pending
Build / build (21-ubuntu) (push) Waiting to run
Build / client_test (push) Waiting to run
Build / server_test (push) Waiting to run
Build / check_resources (push) Waiting to run
2024-09-04 17:43:48 +01:00
modmuss50
42a8e21cd7 Bump versions
Some checks failed
Build / build (21-ubuntu) (push) Has been cancelled
Build / client_test (push) Has been cancelled
Build / server_test (push) Has been cancelled
Build / check_resources (push) Has been cancelled
2024-08-29 18:05:32 +01:00
modmuss
f14f8b05a9
Join a dedicated server in the automated client test. (#4057)
* Join a dedicated server in the automated client test.

* Add missing header
2024-08-29 17:55:15 +01:00
modmuss
6c0945c34f
Update Fabric Loader and re-enable server test (#4056) 2024-08-29 17:55:03 +01:00
apple502j
2cd4845256
24w35a (#4062) 2024-08-29 17:54:21 +01:00
modmuss50
9c280a9ffa Bump version
Some checks are pending
Build / build (21-ubuntu) (push) Waiting to run
Build / client_test (push) Waiting to run
Build / server_test (push) Waiting to run
Build / check_resources (push) Waiting to run
2024-08-26 12:11:50 +01:00
TheDeathlyCow
6cca2bef65 After Damage Event (#4051)
* 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

(cherry picked from commit 2122d828f0)
2024-08-26 12:04:53 +01:00
AshyBoxy
ca1fb63b82 Dont invoke ItemGroupEvents.MODIFY_ENTRIES_ALL for the OP tab, when the OP tab is disabled (#4045)
(cherry picked from commit 3fc0e552c4)
2024-08-26 12:04:51 +01:00
Fabric Bot
024d2dbc91 Translation updates (#4027)
* 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)

(cherry picked from commit 9b16164179)
2024-08-26 12:04:49 +01:00
apple502j
01f3a03986
24w34a porting fixes (#4054)
* Fix elytra events not working

* Add note on paused dedicated server

* Add note on thrown tridents in `CustomDamageHandler`

Thrown tridents are handled in a different method to ensure they do not break after
successful use (you cannot throw tridents that are almost broken). To make the API simple
(as you cannot use this with vanilla items anyway), exclude them from coverage.

* Fix javadoc in VillagerInteractionRegistries

* Fix javadoc
2024-08-26 12:02:31 +01:00
modmuss
2be899094a
24w34a (#4046)
Some checks failed
Build / build (21-ubuntu) (push) Has been cancelled
Build / client_test (push) Has been cancelled
Build / server_test (push) Has been cancelled
Build / check_resources (push) Has been cancelled
Co-authored-by: PepperCode1 <44146161+peppercode1@users.noreply.github.com>
2024-08-21 18:25:15 +01:00
PepperCode1
236902d814
Finish porting Model Loading, FRAPI, and Indigo (#4043) 2024-08-21 16:05:05 +01:00
modmuss
1bb677a646 Port to 24w33a (#4033)
Some checks failed
Build / build (21-ubuntu) (push) Has been cancelled
Build / client_test (push) Has been cancelled
Build / server_test (push) Has been cancelled
Build / check_resources (push) Has been cancelled
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: hypherionmc <hypherionmc@gmail.com>
(cherry picked from commit 952fb19a0df7354e8352ef0c993a956b2bed32c2)
2024-08-18 19:16:27 +01:00
modmuss50
343cdcb01b 1.21.1
Some checks failed
Build / build (21-ubuntu) (push) Has been cancelled
Build / client_test (push) Has been cancelled
Build / server_test (push) Has been cancelled
Build / check_resources (push) Has been cancelled
2024-08-11 17:23:06 +01:00
modmuss
e26765fae8
Install git in build workflow (#4025) 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 (#4003)
* 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 (#4008)
* Add #c:nuggets/iron and #c:nuggets/gold

Closes #4005.

* 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 (#4010) 2024-08-11 14:52:13 +01:00
modmuss
1db1cc1f63
Crafter support for the transfer api. (#4013)
* Crafter support for the transfer api.
Closes #4004

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

(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
Some checks failed
Build / build (21-ubuntu) (push) Has been cancelled
Build / client_test (push) Has been cancelled
Build / server_test (push) Has been cancelled
Build / check_resources (push) Has been cancelled
2024-08-07 18:52:06 +01:00
modmuss
40875a9333
Add an API to add additional supported blocks to block entity types. (#4009) 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
Some checks failed
Build / build (21-ubuntu) (push) Has been cancelled
Build / client_test (push) Has been cancelled
Build / server_test (push) Has been cancelled
Build / check_resources (push) Has been cancelled
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. (#3999)
* Revert "Prevent vanilla clients from joining servers that require modded registry entries. (#3992)"

This reverts commit 8759e7555a.

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

* Keep javadoc fix
2024-08-05 10:51:31 +01:00
modmuss50
67e3cd4551 Bump version
Some checks are pending
Build / build (21-ubuntu) (push) Waiting to run
Build / client_test (push) Waiting to run
Build / server_test (push) Waiting to run
Build / check_resources (push) Waiting to run
2024-08-04 19:45:12 +01:00
modmuss
0a3a005780
Allow duplicate entries after being frozen on the client in prod. (#3994)
* 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
Some checks are pending
Build / build (21-ubuntu) (push) Waiting to run
Build / client_test (push) Waiting to run
Build / server_test (push) Waiting to run
Build / check_resources (push) Waiting to run
2024-08-04 14:31:07 +01:00
Patbox
8759e7555a
Prevent vanilla clients from joining servers that require modded registry entries. (#3992)
* 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. (#3991)
* Actually throw the exception when a duplicate registry entry is found.

* Improve mixin
2024-08-04 13:53:18 +01:00
Aaron
176f90366d
Add more TAWs for custom RenderLayers (#3981) 2024-08-04 13:52:54 +01:00
modmuss
ba9dae065f
Don't track fake player network addons (#3977)
* Don't track fake player network addons

* Review feedback
2024-08-04 13:52:41 +01:00
TelepathicGrunt
c5e2b5c62d
Add c:slime_balls tag, add more melee weapons to melee tag, add c:fertilizers tag, fix entries for some biome and food tags (#3957)
* Add slimeball tag

closes https://github.com/FabricMC/fabric/issues/3946

* Add sparse jungle to sparse tag

* add all melee weapons to melee tag

closes https://github.com/FabricMC/fabric/issues/3949

* fixed name of attribute

* Add c:fertilizers tag

closes https://github.com/FabricMC/fabric/issues/3956

* adjust ranged tag javadoc

* Update fabric-convention-tags-v2/src/main/java/net/fabricmc/fabric/api/tag/convention/v2/ConventionalItemTags.java

Co-authored-by: Chocohead <Chocohead@users.noreply.github.com>

* Update fabric-convention-tags-v2/src/main/java/net/fabricmc/fabric/api/tag/convention/v2/ConventionalItemTags.java

Co-authored-by: Chocohead <Chocohead@users.noreply.github.com>

* rename slime ball to match translation name

* Add missing is cold biomes (less than 0.5 temperature)

* Move melon to fruits tag and remove glistering melon from golden tag

* Fixed fertilizers javadoc

* Undo melee tag change

* Put slimeballs tag back to no space

* Revert "Put slimeballs tag back to no space"

This reverts commit 2ca4b25917.

---------

Co-authored-by: Chocohead <Chocohead@users.noreply.github.com>
2024-08-04 13:52:29 +01:00
Fabric Bot
56599129b7
Translation updates (#3944)
* New translations en_us.json (Russian)

* New translations en_us.json (Chinese Simplified)

* New translations en_us.json (German)

* New translations en_us.json (Chinese Traditional)

* New translations en_us.json (Russian)
2024-08-04 13:52:17 +01:00
PepperCode1
c705a49cc5
Add ShadeMode to FRAPI (#3937)
* Add ShadeMode to the API

- Update material documentation
- Use ShadeMode in VanillaModelEncoder

* Add ShadeMode support to Indigo

- Rewrite header packing constants in EncodingFormat to match material packing constants
- Pass buffer Function to TerrainRenderContext instead of allocators and buffer map
- Restore functionality of ChunkRenderInfo#release
- Set captured terrain context to null after releasing it
- Bump mixin compatibility level to Java 21
- Remove unused AWs

* Add test for ShadeMode

- Fix RiverstoneUnbakedModel not calling setParents on models that it will bake

* Clarify documentation of inverted material properties
2024-08-04 13:52:02 +01:00
AlphaMode
6c1df360ce
Replace redirect in lifecycle events with wrap operation (#3887)
* Replace redirect in lifecycle events with wrap operation

* Remove old javadoc
2024-08-04 13:51:48 +01:00
Apollo
8dc279b1d0
Resource Conditions in Pack Overlays (#3872)
* Overlay conditions 1.21

* Move overlay test to gametest

* Fix style error

* Fix another style error

* Implement requested changes

* Import style fix

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2024-08-04 13:51:37 +01:00
modmuss50
31b5766379 Bump version
Some checks failed
Build / build (21-ubuntu) (push) Has been cancelled
Build / client_test (push) Has been cancelled
Build / server_test (push) Has been cancelled
Build / check_resources (push) Has been cancelled
2024-07-29 14:38:42 +01:00
apple502j
a5d6675361
Use ConcurrentHashMap inside RegistryAttributeImpl (#3970) 2024-07-29 14:35:03 +01:00
modmuss50
f9000df732 Bump version
Some checks failed
Build / build (21-ubuntu) (push) Has been cancelled
Build / client_test (push) Has been cancelled
Build / server_test (push) Has been cancelled
Build / check_resources (push) Has been cancelled
2024-07-14 15:06:50 +01:00
Martijn van den Brand
df16efd0d6
Update vertex consumer after BLOCK_OUTLINE event (#3940) 2024-07-14 15:02:42 +01:00