Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab authored and UpcraftLP committed Aug 11, 2020
1 parent 3502b77 commit 43b3fd6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@
import net.minecraft.util.math.Direction;
import net.minecraft.world.BlockView;
import net.minecraft.world.World;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.Nullable;

/**
* This class consists exclusively of static methods that return a {@link Component} by querying some block context.
*/
@ApiStatus.Experimental
public final class BlockComponents {

public static <C extends Component> @Nullable C get(ComponentKey<C> key, BlockEntity blockEntity) {
Expand Down
12 changes: 10 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,22 @@ Version 2.5.0
- Updated `cardinal-components-level`, `cardinal-components-world` and `cardinal-components-chunk` to 1.16.2

Additions
- Added a new API for block components (see PR #42)
- Added a new [API for block components](https://github.com/OnyxStudios/Cardinal-Components-API/wiki/Cardinal-Components-Block) (see PR #42)
- Added a new API for scoreboard components (see PR #36)
- Added reworked `ComponentProvider` and `ComponentContainer` interfaces to the V3 API
- Refactored a lot of internal code to use the new types
- Added `ComponentV3` and `ComponentRegistryV3` interfaces for early V3 adopters
- Added a factory builder to the `ComponentContainer` interface
- Added a factory builder to the `ComponentContainer` interface for third-party `ComponentProvider` implementations
- Added alternatives to `registerFor` methods taking a predicate, for fine-tuned registration

Changes
- The NBT serialized form of `ComponentContainer` is now more space-efficient.
- Instances serialized before this update should get converted as they load.
- Removed experimental deprecated method `EntityComponentFactoryRegistry#register` (use `registerFor`)

Fixes
- Fixed item components not being copied by the smithing table
- Removed the `Internal` annotation from new API packages

------------------------------------------------------
Version 2.4.2
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
org.gradle.jvmargs = -Xmx3G

#see https://modmuss50.me/fabric.html
minecraft_version=1.16.2-rc1
minecraft_version=1.16.2-rc2
yarn_mappings=1
loader_version=0.9.1+build.205

#Fabric api
fabric_api_version=0.17.1+build.394-1.16

#Publishing
mod_version = 2.5.0-nightly.1.16.2-rc1
mod_version = 2.5.0-nightly.1.16.2-rc2
curseforge_id = 318449
curseforge_versions = 1.16-Snapshot
changelog_url = https://github.com/OnyxStudios/Cardinal-Components-API/blob/master/changelog.md
Expand Down

0 comments on commit 43b3fd6

Please sign in to comment.