Commit graph

540 commits

Author SHA1 Message Date
shartte
ccce563e15
Fix dynamic tools not using their mining speed on modded blocks with mining level 0. (#1030) 2020-08-21 17:20:03 +01:00
modmuss50
e81ec80bf4 Version bump 2020-08-13 18:17:47 +01:00
i509VCB
de1d6c86d0
Add ability to define default attributes and spawn restirctions within the entity type builder. (#828)
* Add ability to define default attributes within the entity type builder.

* Update fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/api/object/builder/v1/entity/FabricDefaultAttributeRegistry.java

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>

* Add ability to specify spawn restriction. Add a Living and Mob builder to handle attributes and spawn restrictions seperately from default builder.

* Let's not cast like a maniac

* Add misc overloads for living builder

* Add a few null checks

* Allow factory to be defined in builder

* Make spawn group a builder parameter

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
2020-08-13 18:15:01 +01:00
Juuxel
fc24ff24ef
Add ItemConvertible overload for BuiltinItemRendererRegistry (#955)
Closes #953.
2020-08-13 18:14:01 +01:00
modmuss50
54fedaeb9b update curse version 2020-08-11 17:45:12 +01:00
modmuss50
e5d3217f0d Mappings update 2020-08-11 17:42:40 +01:00
modmuss50
7d3b96dd8a 1.16.2 2020-08-11 17:27:22 +01:00
modmuss50
ac8e8c5914 Bump version 2020-08-08 13:19:35 +01:00
i509VCB
648c8fd11f
Fix crashes by actually targetting the correct class in mixin (#1003)
This was renamed in yarn almost a month ago, so who knows how many times it's crashed
2020-08-08 13:18:49 +01:00
modmuss50
ad64ee68e8 Bump version 2020-08-07 19:52:25 +01:00
i509VCB
e2862de602
Add callback to allow registration of feature renderers. (#873)
* Add callback to allow registration of feature renderers.

* Laymans terms for those who don't map yarn for a living.

* Be a little less generic

* Dispatch events in a better spot, play with generics again, move to renderer-registries.

Also move this to render registries

* Handle players as well

* Tweak generics

* Hide acceptor impl

* Add actual testmod, fix where player events are fired, Simplify to returning a list.

* the old style worked fine

* registerRenderers

* Rename the event interface

* Javadoc fixes
2020-08-07 19:49:39 +01:00
Florens Pauwels
02fb8fda0e
Add Netherite mining level to vanilla blocks ToolHandler (#978)
* Add Netherite mining level to vanilla blocks ToolHandler

* Version bump, fix icon
2020-08-07 19:47:18 +01:00
Shnupbups
23a4a963ba
Fix FabricBlockSettings not copying the toolRequired boolean (#984) 2020-08-07 19:47:09 +01:00
modmuss50
f8ee145623 1.16.2-rc1 2020-08-07 17:20:50 +01:00
modmuss50
627dccba1d pre3, no changes, so no release. 2020-08-06 18:28:24 +01:00
i509VCB
944242f10a
licenser... (#995) 2020-08-05 20:33:21 +01:00
modmuss50
f653ee41b0 checkstyle... 2020-08-05 20:02:36 +01:00
modmuss50
91555cd1f0 1.16.2-pre2 - no biomes for now 2020-08-05 20:00:37 +01:00
modmuss50
d54afe8768 Bump version 2020-07-29 23:54:25 +01:00
modmuss50
80f083f580 Revert "Update to loom 0.5"
This reverts commit 9be3744a
2020-07-29 23:54:09 +01:00
modmuss50
847665c2f2 Fix crash when remapping registries. Closes #967 2020-07-29 20:16:13 +01:00
modmuss50
74cc3b2021 Version Bump 2020-07-29 20:07:00 +01:00
i509VCB
5098e03e12
Add world unload event (And functional interface annotations to events) (#895)
* Add world unload event

* Add functional interface annotations to all events
2020-07-29 19:54:16 +01:00
modmuss50
9be3744a3b Update to loom 0.5
For now this will only be for 1.16.2
2020-07-29 19:52:57 +01:00
modmuss50
bf0e62bd42 1.16.2-pre1 2020-07-29 16:52:10 +01:00
modmuss50
deaf48319c Fix crashes outside of dev 2020-07-24 18:29:52 +01:00
modmuss50
ccb37cc4c4 Version bump 2020-07-24 16:29:47 +01:00
i509VCB
d532d74b83
Create Game Rule API (#641)
* Create GameRule API

* Some tweaks

* gamerule -> game-rule

* Fix translation keys and update to 20w22a

* Command results and remove unnessecary factory method

* Update to 1.16-pre1

* Update fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/api/gamerule/v1/FabricRuleTypeConsumer.java

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

* I like final things

* Update to 1.16-pre3, change enum button style

* checkstyle

* use right min values

* Document ValidatableRule

* Document LiteralRule, clarify generics

* Update to 20w27a

* Rename some parts to compensate for future yarn renames.

Flatten some logic related to EnumRules

* forgot one

* javadoc galore

* finish javadoc

* Start things

* Update to 20w29a, drop float rule

* Make cycle naming more accurate

* Convert colors to hex

Co-authored-by: Erlend Åmdal <erlend@aamdal.com>

* Update to 20w30a

* imports again

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
Co-authored-by: Erlend Åmdal <erlend@aamdal.com>
2020-07-24 16:25:09 +01:00
Snakefangox
d21d463561
Fix tool attributes mining levels (#855)
* Decoupled effective checks and mining speed

* Fixed typo

* Bump major for method sig change

* Fix semvar

* Re-add original API method

* Extend test mod

* Fix bug discovered by testing

* Change current to vanillaResult, update doc for postProcessMiningSpeed

* Remove </p> tag

* Add vanilla tests and rename vars
2020-07-24 16:24:50 +01:00
shartte
5d32f58344
Make Indigo more closely aligned with vanilla's behavior when (#901)
rendering flat-shaded quads. Use the cull-face (if present)
to determine where the light-value is being sampled from,
and use the light-face to apply diffuse lighting.
Also do not force the light-face to be set to the cull-face,
since some blocks use faces where these are both set and different
(see the insides of a Cauldron for example).
2020-07-24 16:24:33 +01:00
modmuss50
d3726004c8 biome test mod update 2020-07-22 17:48:33 +01:00
modmuss50
d7f19da055 20w30a - Just a mapping update 2020-07-22 17:38:57 +01:00
modmuss50
359819bea1 Version bump 2020-07-20 20:03:56 +01:00
modmuss50
7548be6d43 Revert "Indigo Flat-Shading Lighting Fix (#898)"
This reverts commit 28388fad
2020-07-20 19:52:17 +01:00
shartte
28388fadd8 Indigo Flat-Shading Lighting Fix (#898)
* Make Indigo more closely aligned with vanilla's behavior when
rendering flat-shaded quads. Use the cull-face (if present)
to determine where the light-value is being sampled from,
and use the light-face to apply diffuse lighting.

* Bump Indigo version to 0.3.4
2020-07-20 19:37:34 +01:00
shedaniel
730711c6e2 Fix getBoundKey() recursion (#896)
* Fix getBoundKey() recursion

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

* Change to underscore

Signed-off-by: shedaniel <daniel@shedaniel.me>
2020-07-20 19:37:28 +01:00
Juuxel
872498418c
Tweak the screen registry's generics to fix type inference (#857)
* Tweak the screen registry's generics to fix type inference

* Fix test mod
2020-07-20 19:36:10 +01:00
shedaniel
ba4afa57ac
Fix the javadocs of object-builders as the method was moved from material to block. (#892)
Signed-off-by: shedaniel <daniel@shedaniel.me>
2020-07-20 19:35:49 +01:00
modmuss50
3b4b2c130e Version bump 2020-07-17 16:22:50 +01:00
modmuss50
f5c4fce088 and imports.. 😠 2020-07-17 15:59:41 +01:00
modmuss50
f5b8457b41 Remove unused variable 2020-07-17 15:58:37 +01:00
i509VCB
144d3847c0
Lifecycle Events: Part 2, Electric Boogaloo (#848)
* Add a few new server lifecycle events

Server starting, Load World, Before server resource reload, After server resource reload

* Save event

* Split world load into ServerWorldEvents, add failure event for data pack reload

* cause

* Merge fail and regular end.

* Present tense lol

* So we can just plainly specify the system properties

* use handleAsync instead
2020-07-17 14:51:05 +01:00
shartte
1036f7f1f9
Reuse TerrainFallbackConsumer to render vanilla models when (#870)
called from BlockModelRenderer. Fixes #869.
2020-07-17 14:49:30 +01:00
modmuss50
5553fa5856 20w29a 2020-07-15 17:20:11 +01:00
modmuss50
e4cb07a722 Bump version 2020-07-12 19:36:35 +01:00
Joseph Burton
fac8f36647
Fix loot table API for 1.16 (#832)
* Fix loot table API for 1.16

* Bump module version to 1.0.0

* Apply review suggestions
2020-07-12 19:32:22 +01:00
modmuss50
e09978fc7c Bump version 2020-07-09 22:50:21 +01:00
Draylar
08834d9e76
20w28a Biome Module fixes (#874)
* 20w28a biome module fixes

* update version to 0.3.0

* major version bump to 1.0.0

* Update mappings

* Fix nether biome test's

* Fix nether biome's on the server
Closes https://github.com/FabricMC/fabric/issues/861

* Accessor name changes

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-07-09 22:49:30 +01:00
ㄗㄠˋ ㄑㄧˊ
fde2bb23c4
github actions: add wrapper validation (#875)
It validates the checksums of Gradle Wrapper JAR files present in the source tree and fails if unknown Gradle Wrapper JAR files are found. https://github.com/gradle/wrapper-validation-action
2020-07-09 22:31:28 +01:00
modmuss50
35e08e3387 20w28a - no biomes or dimensions 2020-07-08 19:31:01 +01:00