Commit graph

822 commits

Author SHA1 Message Date
LambdAurora
7fc3efa106 Internal refactor, remove legacy code, fix FabricMC/fabric#878. (#1134) 2020-11-13 18:26:33 +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
c3939b0682 Fix crash in production Closes #1155 2020-11-08 21:47:44 +00:00
modmuss50
96d1e9eae1 Version bump 2020-11-07 20:32:46 +00:00
Virtuoel
b617f4f7e4 Fix items with sword tool tag not instantly breaking bamboo (#1110)
* Fix items with sword tool tag not instantly breaking bamboo

* Consolidate mixins

* Add Javadoc to injection
2020-11-07 20:06:20 +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
i509VCB
c097c2c675
Reimplement server entity load event (#1151) 2020-11-05 20:02:40 +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
modmuss50
9cb915787f
Merge pull request #1148 from i509VCB/1.17/lifecycle-events-v1
20w45a: Partially update Fabric API
2020-11-05 08:49:31 +00:00
LambdAurora
151ba21b21
Resource loader for 20w45a. (#1)
* Resource loader for 20w45a.

* You have seen nothing.
2020-11-05 01:37:03 -06:00
i509VCB
27eec61ee2 Turn off tests and mixins for currently disabled part 2020-11-04 18:35:41 -06: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
shartte
f5a9be8988
Biome Modification API (#1097)
* Biome Modification API

* Improved docs on Mixins.

* Added convenience methods to select biomes by mob-spawns, and added a top-level convenience method to add new spawns.

* Checkstyle fixes.

* Replace a reference to DRM with DynamicRegistryManager

* Replaced integer order with phase-based ordering.

* Changed to @Deprecated

* Checkstyle fix

* Added category selector.
2020-10-30 20:08:54 +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
i509VCB
25b143484c
Tweak entity type builder generics to eliminate explicit type arguments (#1094)
* Tweak entity type builder generics to eliminate explicit type arguments

* Apply different generic on the entity factory method
2020-10-26 20:57:02 +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
Ege
8f6b00f9a3
Add Turkish language (#1128) 2020-10-22 18:54:12 +01:00
modmuss50
2b462379ad Bump versions 2020-10-18 18:38:30 +01:00
shedaniel
e1e947a65f
Clean up to tool-attributes, add annotations and add test for custom … (#1073)
* Clean up to tool-attributes, add annotations and add test for custom tool types.

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Change version to 1.2.3

Signed-off-by: shedaniel <daniel@shedaniel.me>

* remove unrelated change

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Turn build.gradle to tabs

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Fix checkstyle

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Fix some review issues

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Add license to package-info.java

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Remove line between the javadoc and the package line

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Move the @NotNull annotation

Signed-off-by: shedaniel <daniel@shedaniel.me>
2020-10-18 18:32:16 +01:00
Technici4n
16a658fec4
Fix sprite and spriteBake (#1122) 2020-10-18 18:28:31 +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
c29304db6a
DynamicRegistryEvents (#1029)
* Added DynamicRegistryEntryAddedCallback

* bumbed loader version, finalized DynamicRegistryEvents

* Fixed some generics

* Changed the event to a more generic one

* Added some javadoc and the license header

* increased gradle memory in the hope it fixes the github action fail

* Added DynamicRegistryEntryAddedCallback

* bumbed loader version, finalized DynamicRegistryEvents

* Fixed some generics

* Changed the event to a more generic one

* reverted memory change

* updated mixin for new mappings

* removed redundant supressions

* renamed event method
2020-10-11 21:15:25 +01:00
i509VCB
432d048583
Tristate extensions (#1043)
* Tri-state extensions

Adds new extensions to tri-state and some javadoc.

* Part 2

* Comment fix

* More conistent codestyle, abstract the map and ifxyz code a bit

* Annotations

* Player said no to qualifying static members local to the TriState enum.

* Exceptional spelling

* add a more Optional-like map method and drop if*State*

* ? extends T this time

* Compare to default rather than null of getBoxed

* Puncation of course
2020-10-11 21:15:03 +01:00
modmuss50
c270b09831 Version Bump 2020-10-05 19:41:39 +01:00
i509VCB
1304192f58
Add helper methods to create custom villager types. (#1076)
* Add helper methods to create custom villager types.

* Rename biome method

* Make it register and register the instance of the villager type.

* Javadoc 2

* Add texture javadoc
2020-10-05 19:15:49 +01:00
i509VCB
c36cc5ad54
Write a proper readme (#1109)
* Write a proper readme

* Remove unnessecary comments

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Some changes for clarity

* Dev environment

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2020-10-04 20:59:12 +01:00
CheaterCodes
888073d094 renamed event method 2020-10-01 23:37:40 +02:00
CheaterCodes
811b763fc3 removed redundant supressions 2020-10-01 22:58:14 +02:00
CheaterCodes
bf575bf013
Merge branch '1.16' into dynregman 2020-10-01 22:54:51 +02:00
modmuss50
3c53fe33fe Version bump 2020-09-29 18:55:16 +01:00
shartte
ff71903321
Cleaned up use of Generics in registry-sync-v0 and used Registry#getKey where possible instead of reverse-lookup of the registry key. (#1082) 2020-09-29 18:48:23 +01:00
modmuss50
f8ac1db2b1 Version bump 2020-09-27 12:38:48 +01:00
Deximus-Maximus
5f10696617
Add @Nullable and friends (#1007)
* Boost to Loom 0.5
Add null related annotations

* Rearrange nullable to be overline

* Fix anno sorting for picky

* Add imports

* Address feedback

* Fix import
2020-09-27 12:10:02 +01:00
i509VCB
ca18475868
Add fix for handling removal of old structures. (#1100)
* Add fix for handling removal of old structures.

This fix is required or else worlds where a mod is removed WILL NOT SAVE.

* Only mark for saving if the chunk has a null key

* Add label for issue being fixed

* Actually fix the redirect lol

* Licenses...

* Use ThreadLocal boolean instead of nullable unit

* Checkstyle is picky

* remove unnecessary `containsKey`
2020-09-27 12:09:34 +01:00
shartte
bbdb433e98
Clarify an aspect about the block renderer registry (#1035)
* Clarify an aspect about the block renderer registry.

* Update fabric-renderer-registries-v1/src/main/java/net/fabricmc/fabric/api/client/rendereregistry/v1/BlockEntityRendererRegistry.java

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-09-27 12:09:20 +01:00
Vincent Lee
616c01224d
Add hook for custom damage logic (#964)
* Add hook for custom damage logic

* Address comments

* Change to use new FabricItemSettings

* Make CustomDamageHandler a functional interface
2020-09-27 12:09:07 +01:00
modmuss50
c1aa8ed8d7 Version Bump 2020-09-18 18:48:09 +01:00