Commit graph

986 commits

Author SHA1 Message Date
modmuss50
33dd200e73
#1431 - Foce update MCE to fix bad refmap (#1433) 2021-04-27 17:55:20 +00:00
Player
891f9e0762 Bump version 2021-04-26 21:50:10 +02:00
Draylar
f5d458fc56 Update Dynamic Attribute Tool modifier application to fix #1353 (#1355)
* dynamic tool attributes v2, part 1

* move duck interface to impl package

* add licenses

* fix mixin build failure on a dedicated server

* remove unused shadow of getItem()

* add a simple user-context-based attribute tool to the test item suite

* add clarifying comments in DynamicAttributeTool jdoc regarding parameter reliability + extended docs on getDynamicModifiers for attribute freshing

* player -> user because context is not always a player

* add license to TestNullableItem
2021-04-26 21:41:21 +02:00
Player
b90688755c Update mc version to 21w16a 2021-04-26 21:40:28 +02:00
actuallyasmartname
14efdf6ee6
Add missing metadata to dimensions api, remove JCenter (#1428) 2021-04-25 20:29:06 +00:00
Player
ecfd213c4f Bump version 2021-04-18 19:29:34 +02:00
PepperCode1
2263f53eac Allow getting BakedModels using Identifiers (#1390) 2021-04-18 16:53:53 +02:00
modmuss50
12865e786c Version bump 2021-04-14 20:03:08 +01:00
i509VCB
6a8b6a39c8 Create a simple renderer api testmod (#1295)
* Create a simple renderer api testmod

* Update fabric-renderer-api-v1/src/testmod/java/net/fabricmc/fabric/test/renderer/simple/client/RendererClientTest.java

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
(cherry picked from commit b0e4dde51b)
2021-04-14 19:29:28 +01:00
Technici4n
78c482ee45 Fix a WorldRenderEvents.BLOCK_OUTLINE bug (#1319)
* Fix bug related to immediate mode VCP

* Add testmod

(cherry picked from commit 6d5e24549f)
2021-04-14 18:57:27 +01:00
PepperCode1
aaa30be003 Allow more flexibility when registering BER (#1392)
(cherry picked from commit f801c28735)
2021-04-14 18:54:29 +01:00
Emma
5f00b70f07 Add Greek translation (#1403)
(cherry picked from commit 4b2c998ef4)
2021-04-14 18:52:54 +01:00
Juuxel
c0514c5228 Add Finnish translation (#1416)
(cherry picked from commit 42c13ca9b1)
2021-04-14 18:52:48 +01:00
frqnny
83003f11fb Add Mexican spanish translation (#1418)
* Create es_mx.json

* Update es_mx.json

(cherry picked from commit 6ee4ca443c)
2021-04-14 18:52:43 +01:00
modmuss50
4e7396f96c Fix accidental copy/paste 2021-04-14 18:35:48 +01:00
modmuss50
4114fbdc82 21w15a - Just a singular mapping update. 2021-04-14 18:33:20 +01:00
modmuss50
82d2b1c3ac Bump version 2021-04-07 18:50:17 +01:00
modmuss50
413ddf6456 21w14a - Mappings update 2021-04-07 18:46:09 +01:00
modmuss50
23b3c92ea9 21w13a 2021-03-31 20:52:51 +01:00
modmuss50
bb68760067 Bump version 2021-03-22 19:04:47 +00:00
A. Regnander
353650b662 Create sv_se.json (#1388)
* Create sv_se.json

* Update sv_se.json

(cherry picked from commit e74ab46e1e)
2021-03-22 19:02:25 +00:00
Jason
04be5bc849 Fix sendError discrepency with client commands (#1358)
This fixes a discrepancy between how error messages are formatted in client commands vs server commands.

(cherry picked from commit f63a27820f)
2021-03-22 19:02:21 +00:00
modmuss50
ce7984c3e7 Bump version again due to partial release.
Some release steps completed without others leaving things in a weird state, going to fully re-release this version.
2021-03-17 20:28:23 +00:00
modmuss50
03bff30f22 21w11a 2021-03-17 19:14:28 +00:00
modmuss50
d748de6c71
Bump module version as well.
I shouldnt use github to do this stuff :)
2021-03-11 22:04:10 +00:00
modmuss50
a8de2ebd99
Bump version 2021-03-11 22:02:56 +00:00
haykam821
180d867766
Fix the onPlayerInteractEntity mixin causing a crash because the target method signature was not specified (#1364) 2021-03-11 22:02:25 +00:00
modmuss50
41a6855274 21w10a 2021-03-10 19:21:48 +00:00
modmuss50
a8e5632933 Bump version. 2021-03-08 21:03:54 +00:00
modmuss50
b510623339 Port FabricApiLookup to 1.17 2021-03-08 21:00:44 +00:00
Technici4n
f995ab4233 Fabric API Lookup (#1234)
# Fabric API Lookup API v1
## Introduction
This module allows Api instances to be associated with game objects without specifying how the association is implemented. This is useful when the same Api could be implemented more than once or implemented in different ways.

Many thanks to @Grondag for providing the original concept (#1072).
Thanks also go to @i509VCB, @Pyrofab, @sfPlayer1 and the others who were involved with the design of this module.

This is the foundation upon which can be built for example a fluid transfer api (#1166). Closes #1199.

## Flexible Api Querying
## Block Api Usage example
## Building blocks
This PR was changed a lot, please have a look at the README, the package info, and the javadoc for `BlockApiLookup` and `ApiLookupMap` for up-to-date documentation.

## More usage examples
FastTransferLib (https://github.com/Technici4n/FastTransferLib) is an experiment to build an item, fluid and energy transfer api on top of this module. (Which was until recently called `fabric-provider-api-v1`.)

## Missing things?
~~I could add an overload of `BlockApiLookup#find` with nullable `BlockState` and `BlockEntity` parameters, so that the caller can directly provide them if they are available for some reason.~~ Added in later commits.

There is no module to retrieve apis from items or entities yet because there were unsolved issues with those. The community can use the provided building blocks to experiment with their own implementations of `ItemStackApiLookup` and `EntityApiLookup` until the way forward becomes clear, but let's please not delay the `BlockApiLookup` because of that.

Co-authored-by: i509VCB <git@i509.me>
Co-authored-by: PepperBell <44146161+PepperCode1@users.noreply.github.com>
(cherry picked from commit dc716ea167)
2021-03-08 20:35:40 +00:00
modmuss50
0d6fddeefc Fix MixinServerPlayNetworkHandler not applying when the synthetic fields have been renamed.
This happens when using mojmap in dev.
2021-02-28 21:24:27 +00:00
modmuss50
7268309e55 21w08a 2021-02-24 20:30:53 +00:00
modmuss50
f9d6353a62 Bump version 2021-02-23 18:31:52 +00:00
Juuxel
2d24a8b238 Client-sided commands (#1115)
* Move command API icon to correct location

* Add client-sided command API

* Add jd note about threads

* Add license headers

* ArgumentBuilders => ClientArgumentBuilders

* Yeet custom prefixes

* Migrate testmod to lifecycle-events-v1

* Improve client command test

* Make client command test more similar to the server one

* Update to new yarn names

* Add handling for requires() in command suggestions

* Remove outdated TODO

* Playerification

* Clarify comments in ClientCommandInternals

* Use "s" instead of "it"

* Improve CommandSyntaxException logging

* Add missing import

* Add /fcc help command

* Add comments about server-client precedence rules

* Add missing license header

* Add /fabric-command-api-v1:client as an alias for /fcc

(cherry picked from commit 871300cf73)
2021-02-23 18:28:41 +00:00
modmuss50
40e100eb8e 21w07a - Fairly major mappings update 2021-02-17 19:11:45 +00:00
modmuss50
2a1dabb6d4 Bump Version 2021-02-14 19:02:40 +00:00
i509VCB
f1b599275a
Add registry for creating entity model layers and texture data (#1197)
* Add registry for creating entity model layers and texture data

* Add ApiStatus annotations and document factory method

* Helper -> Registry
2021-02-14 18:58:41 +00:00
modmuss50
524a2e859c Bump Version 2021-02-14 18:03:24 +00:00
modmuss50
5356521177 Post 1.17 cherry pick compile fix 2021-02-14 17:59:15 +00:00
Grayray
427fb25ae7 Update key-binding-api-v1 example (#1309)
Switches from events-lifecycle-v0 to lifecycle-events-v1

(cherry picked from commit 4ee10f8910)
2021-02-14 17:56:50 +00:00
PepperCode1
4270b5a63f Fix FabricMaterialBuilder.notSolid having the wrong return type (#1308)
Should be backwards compatible.

(cherry picked from commit cd0f1d33c1)
2021-02-14 17:56:45 +00:00
Player
6d07a7c2fa Make event registration thread safe (#1305)
(cherry picked from commit be996d2566)
2021-02-14 17:56:39 +00:00
i509VCB
6692ae6057 Remove all inter-module dependencies on fabric-networking-v0 (#1291)
This migrates all uses of v0 networking to v1 api, and changes the readme to not mention networking-v0 in the example for dependencies.

This effectively makes v0 removable if it breaks in the future beyond repair. Though I expect v0 to last quite a bit longer.

(cherry picked from commit bf770ed853)
2021-02-14 17:56:36 +00:00
modmuss50
2992645b97 21w06a 2021-02-10 18:58:49 +00:00
modmuss50
1eb2670e8a 21w05a 2021-02-03 19:53:20 +00:00
modmuss50
7053477453 Actually bump version 2021-01-27 19:29:29 +00:00
modmuss50
73abe4c989 Bump version 2021-01-27 19:12:02 +00:00
modmuss50
e568618094 Crash with a more helpful message when a screen fails to call super.init
(cherry picked from commit c045166c0f)
2021-01-27 19:10:12 +00:00
modmuss50
ac6a8f141e Modrith upload (#1280)
(cherry picked from commit 281de346c7)
2021-01-25 18:24:20 +00:00