Commit graph

1344 commits

Author SHA1 Message Date
modmuss50
9496b969b5
Fix a regresstion preveting clients with an un-modded regsitry joining servers with modded registries. (#3036) 2023-05-01 13:54:55 +01:00
Technici4n
76ba65ebd7
Add a Fake Player API (#3005) 2023-05-01 13:54:22 +01:00
modmuss50
1e1ae72503 Bump versions
All versions bumped due to loom upgrade

Signed-off-by: modmuss50 <modmuss50@gmail.com>
2023-04-23 13:39:49 +01:00
modmuss50
670e8ac6c5
Improve missing local registry entries error message. (#3004) 2023-04-23 13:21:39 +01:00
Technici4n
da9bb83539
Fix #3017: ComposterWrapper not always increasing on first insert (#3021) 2023-04-23 13:03:12 +01:00
Technici4n
6cebf059ec
Make custom ingredient types and load conditions appear early in generated JSONs (#3020) 2023-04-23 13:02:58 +01:00
ErrorCraft
f4f4ac6445
Add codec data provider (#2979) 2023-04-23 13:02:49 +01:00
modmuss50
77589c6df2
Update to Loom 1.2 and Gradle 8.1 (#3016) 2023-04-23 13:02:02 +01:00
modmuss50
01af69c870 Bump version
Signed-off-by: modmuss50 <modmuss50@gmail.com>
2023-04-11 10:05:36 +01:00
Julian Burner
1e1fb126cb
Fix FabricWrappedVanillaResourcePack::getName (#2998)
* Fix `FabricWrappedVanillaResourcePack::getName`

* Remove unused import
2023-04-11 09:49:50 +01:00
Poodn
e719b8579f
Add missing error message argument in ClientCommandInternals(#2988)
Fixed a translation bug where "command.context.parse_error" was translated with two arguments, while it takes three as input.
2023-04-11 09:49:33 +01:00
notlin4
fde8e2ab4c
Update Traditional Chinese (#2980) 2023-04-11 09:48:53 +01:00
Technici4n
d51205db7d
Transfer API: Add slotted storage and non-empty iterator (#2908)
* Transfer API: Add non-empty iterator

* Add SlottedStorage

* Add StorageUtil.extractAny

* Undeprecate ContainerItemContext.withInitial

* Add licenses

* Revert "Undeprecate ContainerItemContext.withInitial"

This reverts commit dcf123eb332ff642cdbd5fda0d8d2237794d93fc.

* Tweaks

* Make SlottedStorage#getSlots return a view, remove useless field, add UnmodifiableView annotations

* Remove useless @inheritDoc

* Fix infinite loop in the tests
2023-04-11 09:48:38 +01:00
modmuss50
36f990282f Bump version
Signed-off-by: modmuss50 <modmuss50@gmail.com>
2023-04-04 13:07:44 +01:00
apple502j
a6f3ccfaf8 Networking: introduce packet-object based API
Signed-off-by: modmuss50 <modmuss50@gmail.com>
2023-04-04 12:55:12 +01:00
modmuss50
88da797301 Bump version 2023-03-15 12:29:56 +00:00
Julian Burner
938a1d5673
Support Programmer Art and High Contrast injections (#2960) 2023-03-15 12:01:00 +00:00
RawDiamondMC
9af20fd751
Create zh_cn.json (#2945) 2023-03-15 10:33:56 +00:00
Alpha
930b8d421f
Update ko_kr.json (#2927) (#2941)
* Update ko_kr.json

* fix typo
2023-03-15 10:33:35 +00:00
Amirhan-Taipovjan-Greatest-I
043f9acfad
Tatar Translation for Fabric API. (#2936)
* Tatar Translation for 1.19.4

* Tatar Translations for 1.19.4
2023-03-15 10:33:10 +00:00
Michael
9a7c5daa43 Add 'Windswept Hills' biome convention tag (#2878)
* add windswept biome tag

* change windswept tag to windswept hills

* list out biomes and revert name change

(cherry picked from commit 1b664772cf)
2023-03-15 09:36:09 +00:00
Madis Otenurm
7ca91b72e1 Update et_ee.json (#2894)
(cherry picked from commit 09aba064e4)
2023-03-15 09:24:52 +00:00
Yoosk
36d2fcce10
Update pl_pl.json (#2929) 2023-03-15 09:24:06 +00:00
Technici4n
ca5f59aa6b
Fix custom packet inside of bundled packet not being processed (#2947) 2023-03-15 09:20:48 +00:00
Maity
315602f6c2
Conventional Biome Tags tweaks (#2955)
* Birch Forest Tag #2330

* Fix #2649

* Run datagen
2023-03-15 09:19:29 +00:00
Juuz
8f87821716 Add registry for core shaders in custom namespaces (#2901)
* Add registry for core shaders in custom namespaces

* Apply suggestions from code review

Co-authored-by: modmuss50 <modmuss50@gmail.com>

* Use Identifier.NAMESPACE_SEPARATOR instead of ":"

* Remove fabric_ prefixes from mixins

* Move test rendering to lower-right corner for test screenshots

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
(cherry picked from commit ad177755a6)
2023-03-15 09:16:02 +00:00
Juuz
09a3510c69
EquipmentSlotProvider: Add javadoc link to getPreferredEquipmentSlot (#2935) 2023-03-15 09:14:00 +00:00
TelepathicGrunt
348a9c6486
Fixed end biome source injection (#2940) 2023-03-15 09:13:42 +00:00
modmuss50
b8ac354064 1.19.4 2023-03-14 18:32:37 +00:00
modmuss50
7d882bf219 1.19.4-pre4 2023-03-08 14:52:28 +00:00
modmuss50
8c25edb404 Fix some ScreenEvents not being called after resizing the window.
1.19.4 specific issue, fixes #2950
2023-03-07 16:15:00 +00:00
modmuss50
4626a20621 Bump version 2023-03-01 13:22:26 +00:00
modmuss50
4e68ac5bb4 Fix rendering issues after visiting the disconnected screen.
Fixes #2944
2023-03-01 13:20:54 +00:00
modmuss50
fe9afa9d57 Fix build 2023-02-27 18:17:54 +00:00
modmuss50
9003cbe9c4 1.19.4-pre2
Just mapping updates
2023-02-27 16:56:40 +00:00
modmuss50
0abf393c29 Bump version 2023-02-24 10:05:50 +00:00
Technici4n
c2e6f67424
Fix #2925: deprecate item functions in BlockRenderLayerMap (#2930) 2023-02-24 09:50:39 +00:00
modmuss50
931a05409c Bump version 2023-02-23 12:59:11 +00:00
Shnupbups
6baaf9719b
Deprecate some conventional tool tags added to vanilla (#2928)
* Deprecate some conventional tool tags added to vanilla

For backwards compatibility, the old tag IDs are added to the vanilla ones. The exposed keys are redirected to their replacements.

Also optionally adds Cherry Grove biome to `c:in_overworld`.

* Keep the convention tags, just deprecated

* You saw nothing
2023-02-23 12:00:19 +00:00
Kevin
1ee8be400a Added Client Message Events (#2646)
* Added Client Message Events

* Applied suggestions and fixed checkstyle

* Inject before fabric-command-api and updated Javadocs

* Updated Javadocs regarding client commands

* Update fabric-message-api-v1/src/client/resources/fabric-message-api-v1.client.mixins.json

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>

* Updated Javadocs regarding commands

* Fixed duplicated package names

* Updated ClientMessageEvents.java Javadoc

Co-authored-by: Sideroo <109681866+Sideroo@users.noreply.github.com>

* Removed duplicated client commands Javadoc

* Added cancelled sending and receiving events

* Seperated send and receive events and changed event names

* Fixed checkstyle

* Added support for modifying messages

* Added client command test

* Added narration and message indicator support for modifying received messages

* Added tests for modifying messages

* Updated ClientReceiveMessageEvents#CHAT Javadocs

* Small Javadoc fixes

* Added Modify to names

* Always narrate original message

* Removed modifying receive chat message

* Split notify and modify events

* Fixed checkstyle

---------

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Sideroo <109681866+Sideroo@users.noreply.github.com>
(cherry picked from commit c85585f870)
2023-02-23 10:15:16 +00:00
PepperCode1
81e8c5765a Indigo shade related fixes and other changes (#2898)
* Apply disabled shade from vanilla quads directly to material

- Remove QuadViewImpl.shade

* Fix enhanced AO calculation and respect non-terrain culling state

- Fix AoCalculator using AO face data computed with a potentially different shade state
- Move non-cached computation code to separate method in AoCalculator
- Turn AoCalculator's brightnessFunc and aoFunc into abstract methods
- Do not check null check world in non-terrain AO calculation since it cannot be null
- Pass through lightFace and shade state as method arguments in AoCalculator methods to prevent additional lookups
- Do not check for the axis aligned flag in AbstractQuadRenderer.shadeFlatQuad
- Respect cull parameter passed to non-terrain rendering by merging TerrainBlockRenderInfo into BlockRenderInfo
- Use reusable search pos when calling Block.shouldDrawSide to prevent additional BlockPos allocation
- Change BlockRenderContext.render and TerrainRenderContext.tessellateBlock to return void since return value is no longer used
- Remove QuadViewImpl.vertexStart since it is unused

* Add suggestions

- Mark Direction parameter to BlockRenderInfo.shouldDrawFace as Nullable
- Reuse MaterialFinder in FrameBakedModel

(cherry picked from commit 3a95925af4)
2023-02-23 10:15:13 +00:00
modmuss50
a383ab9763 Support creating FabricRegistryBuilder with a RegistryKey, deprecate Class based APIs. (#2905)
* Fix #846

* Update javadoc.

(cherry picked from commit f7b4d36421)
2023-02-23 10:15:09 +00:00
Technici4n
e7471eb7e4
Transfer API v3: Allow null directions, remove deprecated exactView override (#2909) 2023-02-23 10:12:57 +00:00
modmuss50
5da15ca1b9 1.19.4-pre1 2023-02-22 19:56:50 +00:00
Madis Otenurm
711cde8a2a
Add a localization string to default Fabric API resource pack (#2906)
* Update FabricModResourcePack.java

* Update en_us.json

* Update et_ee.json

* Use the newer method

* Fallback as a variable
2023-02-22 12:54:59 +00:00
modmuss50
ae0966baae
Fix all valid Mixin AP warnings. (#2914) 2023-02-22 12:54:50 +00:00
Shnupbups
63b515f4db
BlockSetTypeRegistry and WoodTypeRegistry (#2916)
* BlockSetTypeRegistry and WoodTypeRegistry

Adds `BlockSetTypeRegistry` for creating `BlockSetType`s using Identifiers.
Also adds `WoodTypeRegistry` to replace `SignTypeRegistry`, matching the new more accurate Yarn name. The old `SignTypeRegistry` remains as deprecated for compatibility.

Also updates Yarn build.

* Delete SignTypeRegistry.java

Broke in the update anyway, no use keeping it

* Suggestions

* Whoops

* Suggestions
2023-02-22 12:54:42 +00:00
modmuss50
9ff28bce11 Fix build 2023-02-15 20:15:06 +00:00
modmuss50
e45f7c6532 23w07a 2023-02-15 19:54:58 +00:00
modmuss50
fefb8dfc55 Bump versions 2023-02-13 11:10:26 +00:00