Commit graph

394 commits

Author SHA1 Message Date
modmuss50
fb3bff2eed
Generate a changelog (#1592) 2021-07-23 17:05:52 +01:00
modmuss50
3fe3c3f50c Bump version 2021-07-12 19:25:45 +01:00
Technici4n
c09be4c48a
Fabric Transfer API: "fluid only" edition (#1356)
* Original fluid API design

* Rework the transaction system

* First javadoc pass

* Add a testmod, a base implementation for fluid storages and fix some little bugs

* Fix checkstyle

* Make Movement#move extract from the view and not the whole Storage

* Document and update FluidPreconditions

* Use for-each in CombinedStorage and document a little

* Remove useless overrides in Insertion/ExtractionOnlyStorage

* Move SnapshotParticipant#snapshots to the top of the class, and make updateSnapshots public

* Fix garbage collection of unused CauldronWrappers

* Use ArrayList directly

* Remove locking, reorganize transaction implementation, and add outer close callback

* Add more javadoc

* Rework Storage#forEach into Storage#iterator

* Add a few missing `transaction.addCloseCallback(iterator)`

* Add anyView(), exactView(), capacity() and isEmpty()

* Add Storage#iterable to make iteration friendlier to for loops

* Storages may now have multiple open iterators

Co-authored-by: Devan-Kerman <dev.sel20@gmail.com>

* Make CombinedStorage#supportsInsertion/Extraction iterate through the parts

* Block updates should be used when the supportsInsertion/Extraction status changes

* Fluid -> FluidKey

* Remove all references to ItemKey inside FluidKey, and other minor tweaks

* Cache FluidKeys with a null tag inside Fluid directly

* Fluid unit convention

* Add FluidKeyRendering and RenderHandler

* Bump version for more testing (also published to my maven)

* Add SingleViewIterator, massively reduce code duplication!

* Make API experimental, and add README

* Bump version

* Apparently Fluids.EMPTY is flowing

* Add package info

* Minor adjustements

* 1.17 port, cauldron support, add ResourceKey

* Checkstyle, gas rendering, use record for ResourceAmount

* Add a few helpers, rename some stuff

* Remove anyView, allow nullable in StorageUtil#find*, fix missing try block

* Slight findStoredResource cleanup

* Slightly improve implementation

* Bump version

* Fix wrong transaction

* I wrote in a comment that this could happen...

* Fix SingleFluidStorage bugs, add tests in the testmod, add testmod assets

* Add extract stick

* Rename a few things

* `ResourceKey<T>` -> `TransferKey<O>`
* `ResourceKey#getResource()` -> `TransferKey#getObject()` as resource is already widely used through the API for the keys themselves.
* `tag` -> `nbt`
* Add `get` prefixes to `StorageView` functions

* Bump version

* FluidKey -> FluidVariant

* Bump version

* Expand getVersion() documentation, make it thread-safe and use long.

Co-authored-by: Player <player@player.to>

* empty resource -> blank resource, and update SingleFluidStorage

Co-authored-by: Player <player@player.to>

* Make CauldronFluidContent a final class instead of a record.

Co-authored-by: Player <player@player.to>

* Get rid of CauldronFluidContent#minLevel (was always 1)

* Fix nested commits. (Thanks @warjort!)

* Separate Transaction and TransactionContext

Co-authored-by: Devan-Kerman <dev.sel20@gmail.com>
Co-authored-by: Player <player@player.to>

* Change WorldLocation into a private record

* Bump version

* Guard against exceptions thrown in close callbacks

* Make sure blank fluid variants don't have a tag

* Add documentation, make CauldronStorage clearer

Co-authored-by: frqnny <45723631+frqnny@users.noreply.github.com>

* Allow null storages in StorageUtil#move, and clarify sidedness of FluidStorage

* Add explicit hashCode and equals for transfer variants

* Remove ugly equals and hashCode overrides, and add constant time hashcode spec

Co-authored-by: Devan-Kerman <dev.sel20@gmail.com>
Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Player <player@player.to>
Co-authored-by: frqnny <45723631+frqnny@users.noreply.github.com>
2021-07-12 18:28:33 +01:00
modmuss50
6cefd57746 1.17.1-rc2 2021-07-05 18:44:49 +01:00
Player
a722d8c028 Bump versions 2021-06-20 16:57:51 +02:00
modmuss50
e369698318 Bump version 2021-06-14 23:07:31 +01:00
modmuss50
e2961fee74 Fix datapack driven worldgen not working on dedicated servers. Closes #1478 2021-06-13 00:50:44 +01:00
Player
198a96213c Bump versions 2021-06-11 17:25:45 +02:00
Player
676f40fa73 Bump versions 2021-06-10 14:21:32 +02:00
Cool_Mineman
8a5c621a87 Fix #1273 (Make MultipartBakedModel and WeightedBackedModel implement FabricBakedModel properly) (#1301)
* fix #1273

* Expand testmod to test multipart and weighted models with FRAPI submodels

Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com>
2021-06-10 14:09:00 +02:00
modmuss50
be9da31056 1.17-rc (Just mappings)
This is a little behind just wanted to get it building against rc1
2021-06-07 11:01:31 +01:00
modmuss50
b7ab612143 1.17-pre1 2021-05-27 18:40:00 +01:00
Player
9e521e1377 Fix biome modifications not being applied (matching/porting bug)
Co-authored-by: frqnny <45723631+frqnny@users.noreply.github.com>
2021-05-27 04:20:34 +02:00
modmuss50
5d08011ac3 Bump version 2021-05-25 18:33:34 +01:00
Player
75bf7f0f4a Bump versions 2021-05-20 01:32:24 +02:00
Player
8297e96629 21w20a
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-05-20 01:15:25 +02:00
modmuss50
4b807cec5b Bump version 2021-05-12 20:24:00 +01:00
modmuss50
a02b4463f9 21w19a 2021-05-12 20:23:04 +01:00
Player
74330c9e99 Fix network api throwing on client/server query disconnects 2021-05-10 14:40:38 +02:00
modmuss50
f08a69e19f 21w18a 2021-05-05 19:53:16 +01:00
Player
daa3672176 Bump versions 2021-05-05 07:59:13 +02:00
Player
8d89ed54f2 Bump versions 2021-05-01 23:36:32 +02:00
Player
4e7237c745 21w17a 2021-04-29 00:29:12 +02:00
Player
4d9fb18c78
Bump version to retry after CF API failure 2021-04-27 18:12:58 +00:00
Player
2f893d9760
Bump version 2021-04-27 17:56:23 +00:00
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
Player
b90688755c Update mc version to 21w16a 2021-04-26 21:40:28 +02:00
Player
ecfd213c4f Bump version 2021-04-18 19:29:34 +02:00
modmuss50
12865e786c Version bump 2021-04-14 20:03:08 +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
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
a8de2ebd99
Bump version 2021-03-11 22:02:56 +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
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
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
modmuss50
524a2e859c Bump Version 2021-02-14 18:03:24 +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
ac6a8f141e Modrith upload (#1280)
(cherry picked from commit 281de346c7)
2021-01-25 18:24:20 +00:00
modmuss50
36b77c3e9f 21w03a 2021-01-20 19:50:47 +00:00
modmuss50
92519afafe Version bump 2021-01-19 19:38:22 +00:00
i509VCB
f8cf2bb436 Add custom value denoting module lifecycles. (#1253)
* Add custom value denoting module lifecycles.

* Make the module validation work.

My hand has been forced - we must use buildSrc since JsonSlurper is not available in main buildscript.

* Apply task to each project and dont cross projects

* A horrible hack

* Wait what

* It works now.

* Not needed

* Drop unneeded maven repo, cache map lookup

(cherry picked from commit daa38b3d82)
2021-01-19 18:54:23 +00:00
Player
53f160a834 Bump version 2021-01-05 13:22:26 +01:00
modmuss50
05c818887e Bump version 2021-01-03 16:35:12 +00:00
modmuss50
ce504de521 Bump versions 2021-01-01 14:50:26 +00:00
modmuss50
c6723711fd Bump versions 2020-12-30 17:26:06 +00:00
modmuss50
f3da4d8bf5 Bump version 2020-12-23 20:22:24 +00:00
modmuss50
96f0bfaa41 Bump version 2020-12-17 08:51:13 +00:00
modmuss50
1a369faf20 20w51a 2020-12-16 19:06:02 +00:00
modmuss50
d591fc0a7e Bump version 2020-12-12 16:49:45 +00:00
modmuss50
bee3a886d0 Bump version 2020-12-10 18:34:17 +00:00
modmuss50
8f5b7a460a Bump version 2020-12-06 19:37:32 +00:00
modmuss50
e1f1abb1c0 20w49a 2020-12-02 19:02:44 +00:00
modmuss50
b49af6f4d8 Bump version 2020-11-28 23:37:40 +00:00
modmuss50
880269e646 Bump version 2020-11-28 20:34:56 +00:00
modmuss50
0c3d83a544 20w48a - Just mapping updates 2020-11-25 19:34:48 +00:00
modmuss50
18e7e5e181 Bump version 2020-11-24 19:54:57 +00:00
modmuss50
cc3cc6c601 Bump version 2020-11-23 20:24:54 +00:00
i509VCB
f9a8239a75 Drop use of remote buildscripts (#1175) 2020-11-23 20:14:32 +00:00
modmuss50
d7dacf3db0 Bump version 2020-11-21 18:53:21 +00:00
modmuss50
f1dfa4ca83 Bump version 2020-11-15 19:58:59 +00:00
Thalia Nero
9f7a7423f3 Add module dependencies to maven POM (#1104) 2020-11-15 19:46:01 +00:00
modmuss50
1cd3aea3db Spin up a dedicated server on github actions + add run tasks for test mods. (#1163)
* Add test mod run tasks, add a very basic auto test server task

* License header

* Minor cleanup

* Fix bad depends
2020-11-15 19:40:17 +00:00
modmuss50
fca1ef16e4 Version bump 2020-11-13 19:13:14 +00:00
modmuss50
df3673f0bc 20w46a 2020-11-11 20:18:14 +00:00
modmuss50
e7f25d0d6f Set the java compiler --release arg when building on j9+.
Thanks to https://github.com/FabricMC/fabric-example-mod/pull/71 for this snippet.
2020-11-10 19:59:25 +00:00
modmuss50
24947c8dc7 Version bump 2020-11-08 21:52:10 +00:00
modmuss50
96d1e9eae1 Version bump 2020-11-07 20:32:46 +00:00
i509VCB
8d074a03a9
Temp fix for feature renderer testmod, update mappings, reimplement client entity events (#1152)
* Temp fix for feature renderer testmod, update mappings

* Deprecation comments...

* Reimplement client entity events

* Readd the client world change entity event stuff
2020-11-07 19:54:09 +00:00
modmuss50
a927119a3e Remove build number from github 2020-11-05 18:54:00 +00:00
modmuss50
fe194a410c Bump version 2020-11-05 18:43:33 +00:00
modmuss50
5132a891ac Fix release 2020-11-05 18:43:19 +00:00
modmuss50
3e817a62fd Version bump 2020-11-05 18:26:58 +00:00
modmuss50
15465aaaf5
Publish releases using github actions (#1124)
* Publish releases using github actions

* # Conflicts:
#	build.gradle

* Remove build number + add task to check version has not already been released
2020-11-05 18:12:01 +00:00
modmuss50
fd6e7547e7
20w45a
Added FabricBlockEntityTypeBuilder
Reworked EntityRendererRegistry
Ported BlockEntityRendererRegistry
2020-11-05 18:05:55 +00:00
i509VCB
e05dd712ca 20w45a: Reimplement Chunk events, fix up block-entity-networking
This also adds some maintainer comments to two injections in game rule api.

No this does not compile
2020-11-04 18:21:51 -06:00
modmuss50
6672c51bec 1.16.4 2020-11-02 18:52:08 +00:00
modmuss50
8367596d56 Bump Version 2020-10-30 20:44:41 +00:00
modmuss50
a89534abff Add back renamed lightLevel method, I believe the root cause of this issue is in tiny remapper 2020-10-28 08:44:17 +00:00
modmuss50
a4467d2a9c Bump version 2020-10-27 18:36:48 +00:00
i509VCB
74aedfbe43
Update command api to use new non-tail constructor inject (#1140)
* Update command api to use new non-tail constructor inject

This removes a redirect in fabric api and fixes the location of the command api's icon.

* Update lifecycle events for command-api-v1 testmod
2020-10-27 18:18:09 +00:00
modmuss50
9580fa8f9a Update loom and loader 2020-10-23 09:15:02 +01:00
i509VCB
eacb8ba396
Update yarn mappings (#1127) 2020-10-22 18:54:44 +01:00
modmuss50
2b462379ad Bump versions 2020-10-18 18:38:30 +01:00
i509VCB
fdf52297d0
Use " consistently in main gradle buildscript and some deprecation (#1116)
This also moves use of deprecated `classifier` from AbstractArchiveTask to `archiveClassifier`

Also this moves loader to the Globals class.

This PR does not touch the individual modules since there are other PRs open which modify those.
2020-10-11 21:28:03 +01:00
modmuss50
9f0fb4b8a2 Bump version 2020-10-11 21:18:28 +01:00
modmuss50
c270b09831 Version Bump 2020-10-05 19:41:39 +01:00