Gathering detailed insights and metrics for prismarine-block
Gathering detailed insights and metrics for prismarine-block
Gathering detailed insights and metrics for prismarine-block
Gathering detailed insights and metrics for prismarine-block
npm install prismarine-block
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
29 Stars
141 Commits
32 Forks
7 Watching
11 Branches
27 Contributors
Updated on 26 Oct 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
41.1%
1,290
Compared to previous day
Last week
8.5%
7,646
Compared to previous week
Last month
14.4%
28,867
Compared to previous month
Last year
-36.5%
244,440
Compared to previous year
Represent a minecraft block with its associated data
1const registry = require('prismarine-registry')('1.8') 2const Block = require('prismarine-block')(registry) 3 4const stoneBlock = new Block(registry.blocksByName.stone, registry.biomesByName.plains, /* meta */ 0) 5 6console.log(stoneBlock) 7 8// can you harvest stone with an iron pickaxe? 9console.log(stoneBlock.canHarvest(257)) 10 11// how many milliseconds does it takes in usual conditions? (on ground, not in water and not in creative mode) 12console.log(stoneBlock.digTime(257)) 13
See doc/API.md
prismarine-registry
. To use, instead of passing a string to prismarine-biome's default function export, pass an instance of prismarine-registry
.block.getProperties()
type definitions.Block.fromProperties()
constructor.No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 16/26 approved changesets -- score normalized to 6
Reason
5 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More