Commit graph

1423 commits

Author SHA1 Message Date
Technici4n
6b6af38432 Bump version 2023-05-15 21:36:03 +02:00
Maity
a8e62fb202
Add #c:flower_forests to #c:floral convention tag (#3065) 2023-05-15 21:04:56 +02:00
Maity
41a649626a
Fix last few transitive access wideners missing the transitive- prefix (#3064)
Also add validation to make sure that the generated `.accesswidener` has only transitive access modifiers.
2023-05-15 21:04:07 +02:00
modmuss50
5495d89582 Bump version 2023-05-14 15:15:39 +01:00
Technici4n
8eca92ff9a Convention Tags Improvements (#3051)
* First pass: refactor a bit, add missing item tags that have block tags, add resource category tags and wooden_barrels

* Fix #2831: Move entity buckets to c:entity_water_buckets

* Add villager_job_sites and sandstone tags

* Add alternative cauldrons to villager job sites.

Signed-off-by: modmuss50 <modmuss50@gmail.com>

---------

Signed-off-by: modmuss50 <modmuss50@gmail.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2023-05-14 15:01:45 +01:00
Technici4n
fffc558953 Add TAWs for DamageSources (#3048)
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2023-05-14 15:01:43 +01:00
Technici4n
7bf08b2e0c Remove texture indices and make material AO a TriState (#3044)
* Reorganize method order

* Remove texture indices

- Add allow passing shade boolean to QuadView#toBakedQuad
- Add MutableQuadView#fromVanilla(int[], int)
- Add NonExtendable annotation to SpriteFinder and RendererAccess
- Add note to RenderContext#bakedModelConsumer

* Make Material AO a TriState

Co-authored-by: PepperCode1 <44146161+PepperCode1@users.noreply.github.com>

* Rename spriteUnitSquare -> uvUnitSquare

* Remove toBakedQuad with shade boolean parameter

* Add custom apiNote, implSpec, and implNote javadoc tags

* Reject null BlendMode and AO; clarify fromVanilla(int[], int) javadoc

* cullFace nullability, fromBakedQuad shade clarification, toBakedQuad color index

* Add QuadView#copyUv and minor improvements

* Nullability tweaks

---------

Co-authored-by: PepperCode1 <44146161+PepperCode1@users.noreply.github.com>
2023-05-14 15:01:41 +01:00
Technici4n
f7923f6d3d Fix getName for builtin packs not returning an internal name (#3047) 2023-05-14 15:01:38 +01:00
Juuz
e78ef151ef Improve transfer API debug messages (#3049)
* Add toStrings to Storage, ContainerItemContext and Transaction impls

* StorageUtil: Use crash reports for adding context to errors

* Drop Impl suffix from variant impl toStrings

Since they are the only implementations, it offers no meaningful info for
callers.

* Centralise formatting code, include BE inventory position

* Include amount and resource in all ContainerItemContext.toString impls

* Use crash callables in StorageUtil

* Add crash report to FluidStorageUtil

* Add owning thread to TransactionImpl.toString

* Use thread name in TransactionImpl.toString

The other info clutters the message.

* Fix code style
2023-05-14 15:01:36 +01:00
Technici4n
dcb9d1ca7f Terminally deprecate EventFactory isProfilingEnabled and invalidate (#3050)
* Terminally deprecate `EventFactory` `isProfilingEnabled` and `invalidate`

* Remove `forRemoval` in `isProfiling` deprecation

* Also deprecate
2023-05-14 15:01:22 +01:00
Maity
0bf6077708 Add some new TAWs for tree worldgen (#3060)
* TAWs for worldgen

* Impl suggestions

* Forgot run generateAccessWidener ;)
2023-05-14 15:01:19 +01:00
modmuss50
f39272b79c Bump version 2023-05-11 09:31:56 +01:00
modmuss50
4d8536c91f
Add and test for missing method overrides in FabricBlockSettings (#3056) 2023-05-11 09:25:08 +01:00
Technici4n
c53558c7e5
Fix #3057: Loot API breaks random_sequence (#3058) 2023-05-11 09:17:33 +01:00
modmuss50
03ef495b7f 1.20-pre1 2023-05-10 14:51:08 +01:00
modmuss50
cbbb1b3fc0 23w18a 2023-05-03 14:56:35 +01:00
modmuss50
8aafb887f8 Fix checkstyle after merge. 2023-05-01 14:15:17 +01:00
modmuss50
e1361c3ac5 Bump version 2023-05-01 14:12:23 +01:00
modmuss50
fb8d95dacb Split test mods into client and common. (#3033) 2023-05-01 14:04:29 +01:00
Technici4n
cf56d794ee Add a Fake Player API (#3005) 2023-05-01 13:59:47 +01:00
modmuss50
ce75acf5fd
[1.20] Remove deprecated NbtRegistryPacketHandler (#3026)
* Remove deprecated NbtRegistryPacketHandler

* Remove more
2023-05-01 13:55:38 +01:00
modmuss50
bd913b0dc6 Fix FontManagerMixin target. 2023-04-27 12:06:25 +01:00
modmuss50
39e100afd5 Fix build failure triggered by loom upgrade. 2023-04-26 18:38:20 +01:00
modmuss50
b3f2574b16 23w17a 2023-04-26 18:18:06 +01:00
modmuss50
07640e5410 Bump versions
All versions bumped due to loom upgrade
2023-04-23 13:39:59 +01:00
modmuss50
10328404b3 Improve missing local registry entries error message. (#3004) 2023-04-23 13:29:02 +01:00
Technici4n
2e629d2646 Fix #3017: ComposterWrapper not always increasing on first insert (#3021) 2023-04-23 13:28:49 +01:00
Technici4n
81b63fb615 Make custom ingredient types and load conditions appear early in generated JSONs (#3020) 2023-04-23 13:28:37 +01:00
ErrorCraft
8e495dfc0f Add codec data provider (#2979) 2023-04-23 13:28:23 +01:00
modmuss50
c2fad32519 Update to Loom 1.2 and Gradle 8.1 (#3016) 2023-04-23 13:24:38 +01:00
modmuss50
eff26386be
23w16a (#3018)
# Breaking changes
- `VillagerPlantableRegistry` replaced with `ItemTags.VILLAGER_PLANTABLE_SEEDS`
- `FabricItemGroup.builder()` no longer takes an `Identifier`
- `FabricItemGroup.build()` no longer registers the ItemGroup, this now needs to go in the vanilla registry.
- `ItemGroupEvents.modifyEntriesEvent` now takes a `RegistryKey<ItemGroup>` in place of an `Identifier`
- `FabricLanguageProvider` now takes a `RegistryKey<ItemGroup>` in place of an `ItemGroup`
- `IdentifiableItemGroup` removed, replaced with vanilla registries.
- `FabricMaterialBuilder` removed, no replacement.
- `HudRenderCallback.onHudRender` now passed a `DrawableHelper` in place of `MatrixStack`
- `ScreenEvents.beforeRender` now passed a `DrawableHelper` in place of `MatrixStack`
- `ScreenEvents.afterRender` now passed a `DrawableHelper` in place of `MatrixStack`
- `Screens.getItemRenderer()` removed. Replace with `MinecraftClient.getItemRenderer()`

`DrawableHelper` is likely to be renamed soon, see: https://github.com/FabricMC/yarn/pull/3548/
2023-04-20 20:03:32 +01:00
modmuss50
451493807b Bump version 2023-04-11 10:05:43 +01:00
Julian Burner
03ffe378fe Fix FabricWrappedVanillaResourcePack::getName (#2998)
* Fix `FabricWrappedVanillaResourcePack::getName`

* Remove unused import
2023-04-11 09:51:53 +01:00
Poodn
df5b2a9d77 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:51:48 +01:00
notlin4
1d87947a0e Update Traditional Chinese (#2980) 2023-04-11 09:51:45 +01:00
Technici4n
f8daae03ea 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:51:42 +01:00
modmuss50
b5a544aa78 Bump version 2023-04-06 15:00:28 +01:00
Drex
965d93c168
fix: ClassCastException in fabric-loot-api-v2 (23w14a) (#2999)
* fix: ClassCastException in fabric-loot-api-v2

* change: Add skipped entries into new table

* add: Simple test case
2023-04-06 14:59:00 +01:00
modmuss50
158c189089 23w14a 2023-04-05 17:18:33 +01:00
modmuss50
2ffbbd0726 Bump version 2023-04-04 13:08:00 +01:00
apple502j
7cef2bbfdf Networking: introduce packet-object based API
Signed-off-by: modmuss50 <modmuss50@gmail.com>
2023-04-04 12:56:41 +01:00
modmuss50
848ffaabb4 23w13a 2023-03-29 16:07:13 +01:00
modmuss50
b09c81ea46 Fix build by removing old AW 2023-03-22 17:10:28 +00:00
modmuss50
d537279b82 23w12a 2023-03-22 17:01:08 +00: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