mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-14 19:25:23 -05:00
Fix links in transfer-api README.md (#3694)
This commit is contained in:
parent
aae0949a31
commit
d73f365284
1 changed files with 4 additions and 4 deletions
|
@ -18,8 +18,8 @@ The [`storage/base`](src/main/java/net/fabricmc/fabric/api/transfer/v1/storage/b
|
||||||
implementation of `Storage<T>`.
|
implementation of `Storage<T>`.
|
||||||
|
|
||||||
Implementors of inventories with a fixed number of "slots" or "tanks" can use
|
Implementors of inventories with a fixed number of "slots" or "tanks" can use
|
||||||
[`SingleVariantStorage`](src/main/java/net/fabricmc/fabric/api/transfer/v1/storage/base/SingleStorage.java),
|
[`SingleVariantStorage`](src/main/java/net/fabricmc/fabric/api/transfer/v1/storage/base/SingleVariantStorage.java),
|
||||||
and combine them with `CombinedStorage`.
|
and combine them with [`CombinedStorage`](src/main/java/net/fabricmc/fabric/api/transfer/v1/storage/base/CombinedStorage.java).
|
||||||
|
|
||||||
## Fluid transfer
|
## Fluid transfer
|
||||||
A `Storage<FluidVariant>` is any object that can store fluids. It is just a `Storage<T>`, where `T` is
|
A `Storage<FluidVariant>` is any object that can store fluids. It is just a `Storage<T>`, where `T` is
|
||||||
|
@ -30,10 +30,10 @@ The unit for fluid transfer is 1/81000ths of a bucket, also known as _droplets_.
|
||||||
[`FluidConstants`](src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidConstants.java) contains a few helpful constants
|
[`FluidConstants`](src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidConstants.java) contains a few helpful constants
|
||||||
to work with droplets.
|
to work with droplets.
|
||||||
|
|
||||||
Client-side [Fluid variant rendering](src/main/java/net/fabricmc/fabric/api/transfer/v1/client/fluid/FluidVariantRendering.java) will use regular fluid rendering by default,
|
Client-side [Fluid variant rendering](src/client/java/net/fabricmc/fabric/api/transfer/v1/client/fluid/FluidVariantRendering.java) will use regular fluid rendering by default,
|
||||||
ignoring the additional components.
|
ignoring the additional components.
|
||||||
`Fluid`s that wish to render differently depending on the stored components can register a
|
`Fluid`s that wish to render differently depending on the stored components can register a
|
||||||
[`FluidVariantRenderHandler`](src/main/java/net/fabricmc/fabric/api/transfer/v1/client/fluid/FluidVariantRenderHandler.java).
|
[`FluidVariantRenderHandler`](src/client/java/net/fabricmc/fabric/api/transfer/v1/client/fluid/FluidVariantRenderHandler.java).
|
||||||
|
|
||||||
## Item transfer
|
## Item transfer
|
||||||
A `Storage<ItemVariant>` is any object that can store items.
|
A `Storage<ItemVariant>` is any object that can store items.
|
||||||
|
|
Loading…
Reference in a new issue