Commit graph

25 commits

Author SHA1 Message Date
modmuss50
1eb2670e8a 21w05a 2021-02-03 19:53:20 +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
modmuss50
e1f1abb1c0 20w49a 2020-12-02 19:02:44 +00:00
modmuss50
b49af6f4d8 Bump version 2020-11-28 23:37:40 +00:00
modmuss50
5341e62685 Fix crash on prod server as remap was disabled... 2020-11-28 23:36:21 +00:00
modmuss50
880269e646 Bump version 2020-11-28 20:34:56 +00:00
Waterpicker
bbf4c01986 Update the Dimension API (#1172)
* Reimplement Dimension API

* Forgot to update dimension-api mixins.json

* Did suggested changes.

* Move Nullable import.

* Remove unneeded whitespace

* Added automatic testing testmod feature.

* ...Removed unused imports...

* And other stuff the auto style system complains about...

* ...

* Drop Networking

* Completed suggested changes.

* Revert "Completed suggested changes."

This reverts commit 97740e6134.

* Did requested changes.

* Forgot colon

* Turn plural to singular

Co-authored-by: i509VCB <git@i509.me>
2020-11-28 19:50:27 +00:00
Thalia Nero
9f7a7423f3 Add module dependencies to maven POM (#1104) 2020-11-15 19:46:01 +00:00
modmuss50
a71b3053ad
Rework Dimensions for 1.16 (#627)
* dim api initial port

* A whole bunch of work

* Checkstyle :)

* Minor tweaks based on feedback

* Update to latest snapshot

* Checkstyle ;)

* Some more dim work

* Re add default placer's, the example mod includes a test dim that currently marks the world as experimental

* license

* Fixup javadoc
2020-06-11 11:38:38 +01:00
modmuss50
6d41837a96 20w20a 2020-05-13 18:42:14 +01:00
modmuss50
686e6e57ad 20w18a 2020-04-29 17:49:19 +01:00
modmuss50
2fd224ca63 20w17a 2020-04-22 17:59:17 +01:00
modmuss50
a2a96bf9a5 20w15a 2020-04-08 16:03:19 +01:00
modmuss50
12a8474c3a Bump versions 2020-04-05 15:12:25 +01:00
liach
655c8d6a5c
Fix javadoc jar generation and javadoc building (#550)
* Update build.gradle for testing

Signed-off-by: liach <liach@users.noreply.github.com>

* Fix javadocs

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-05 15:07:27 +01:00
modmuss50
d249f7b6d6 20w12a 2020-03-18 20:05:01 +00:00
Juuxel
b1726571e4 Fix day/night-cycle enabling in World.isDay and World.isNight being
hardcoded for Overworld, use Dimension.hasVisibleSky instead.

- World.isDay() and World.isNight() are now un-hardcoded.
  Instead of checking for the overworld, they check for a visible sky
  like clocks. The check is false for the nether and the end,
  so vanilla behaviour stays the same.
2020-03-05 13:55:54 +01:00
modmuss50
9421522d5a 20w06a 2020-02-05 18:05:59 +00:00
modmuss50
203491ea23 1.15.2-pre1 2020-01-14 20:50:51 +00:00
modmuss50
06c939b35c 1.15-pre3 - just mapping changes 2019-11-28 19:40:14 +00:00
Player
b7f9825dbb Add checkstyle verification for package names, fix non-API packages. 2019-11-03 20:14:45 +01:00
Player
dfdb52d6e5 Add checkstyle, format existing code accordingly. 2019-10-27 15:40:26 +01:00
modmuss50
ccd269cfad 19w41a 2019-10-09 19:05:13 +01:00
grondag
96946203be
Bring dimension API to 1.15 branch (#373)
* Update versioning to match 1.15 branch

* Fix builtin mods being added as resource packs

* Update fabric-loader to replace deprecated methods

* Add more metadata to the modules (#353)

* Add fabric-api-base as a dep to fabric-networking-v0

* Allow for running fabric-api-base on the server-side environment (#360)

* Set curse version to 1.14.4
Also forces it to build again

* Fix NPE in fluid renderer mixin (#361)

* Fix NPE in fluid renderer mixin
* Ensure state, view, and pos are never null
* Bump fabric-rendering-fluids-v1 version

* Cooler dimension API, #309 (#319)

* pyro API

* Update fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/api/dimension/EntityPlacer.java

clarify portalDir param

Co-Authored-By: Pyrofab <redstoneinfire@gmail.com>

* Update fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/api/dimension/EntityPlacer.java

rename & clarify verticalOffset param

Co-Authored-By: Pyrofab <redstoneinfire@gmail.com>

* Update fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/api/dimension/FabricDimensions.java

Co-Authored-By: Pyrofab <redstoneinfire@gmail.com>

* Update fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/api/dimension/EntityPlacer.java

Co-Authored-By: Pyrofab <redstoneinfire@gmail.com>

* update parameter

* Add fabric-networking and fabric-registry-sync to dependencies

* Refactor FabricDimensionType to use a builder

Also adds a desiredRawId field separate from the actual raw
id fixed internally. The fixedRawId field is now set by
DimensionIdsFixer through reflection.
This change addresses concerns about the ability for any mod
to set a FabricDimensionType's raw id at any time.

* Improve javadoc of FabricDimensions#teleport

* Add an overload for FabricDimensions#teleport

* Update javadoc on DimensionIdsFixer

* Inline clientside packet handling

* Add side assertions to FabricDimensions#teleport

* Nuke minecraft's attempts to overwrite bad level properties

* Add license headers

* Reformat dimension API source code

* Update FabricDimensionType javadoc

* Remove redundant ThreadLocal from FabricDimensionInternals

* Fix crash on dedicated servers

* Fix Illegal Access during remapping

* Fix dimension remap exception propagation

* clarify EntityPlacer docs

* spacing fixes

* api.dimension -> api.dimension.v1

* Increment API patch version

Signifies inclusion of new Dimension API

* Partial fix to FabricDimensionType

* Bump dimension version

* Updates based on feedback
2019-09-22 08:32:08 -07:00