-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start bedrock implementation * comments * Todo comments * comment * return BedrockItem and run standard * Small changes * remove tools * matchNbt in equal() * better matchNbt * remove bedrock-protocol from devDependencies * Notch -> Network in pc impl, add matchNbt to pc * canPlaceOn and canDestroy * CanPlaceOn and CanDestroy for java - NEED TO TEST * Fix weird indentation from my formatter * notch -> network * revert the breaking change * clarify in comments that this is not tested * Start bedrock support in original Item class * Linter * blocksCanPlaceOn and blocksCanDestroy * start implementing stack ID * add stack ID to fromNotch() * Initial support for <1.16.220, however item formats are inconsistent and this can be improved * <1.16.220 support, can be improved later to use supportFeature() * update types and docs * update docs * use NBT builder functions where possible * nbt.simplify() to make it more readable * use optional chaining * update types * update docs * Use supportFeature and bedrock features added in mcdata PR; fixes * Add stack ID to tests (temp) and damage default to 0 * remove separate BedrockItem class, don't check ench len * linter * don't use Or assignment to support older node * revert checking enchs length * use stackID parameter in tests * remove network types and add stackID to fromNotch * update docs and types * stack ID is null in java (mcdata feature?) * Fix tests for stack ID, start adding bedrock tests * clean up some unnecessary values * no need to test for null * More readable notch methods * Change blocksCanPlaceOn/Destroy to return [name, properties] * Anvil is undefined if registry type is bedrock * change blocksCanPlaceOn/Destroy * update types and docs * Update index.d.ts
- Loading branch information
1 parent
816ab75
commit 854c357
Showing
6 changed files
with
657 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.