npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

typesforbukkit

v1.4.1

Published

Types For Bukkit

Downloads

6,323

Readme

TypesForBukkit

Types...

For Bukkit.

V1.4.1

Created By https://github.com/Tommyhetrick (Tools used are on there!)

This is meant to be used for the PlaceholderAPI javascript extension to provide types

Instructions for Use:

First, install typesforbukkit with npm:

npm install typesforbukkit

Then add one of the following triple slash directives to your typscript files:

<reference types="typesforbukkit" />

will give you types for the latest version of Minecraft, or:

<reference types="typesforbukkit/<version>" />

Be careful when using the first option because it could change with an update at any time based on the latest Bukkit version

Supported Minecraft Versions:

  • 1.18.2

  • 1.18.1

  • 1.18

  • 1.17.1

  • 1.17

  • 1.16.5

Changelog:

  • 1.0:

    • Original Release, created (slowly) from May to November 21st, 2021
    • Minecraft 1.16.5 support
  • 1.1.0:

    • Minecraft 1.17 support
    • Minecraft 1.17.1 support
    • Actually provided the subclassWatch script
    • I didn't know NPM supported markdown... duh.
  • 1.1.1:

    • Fixed typos in the readme
  • 1.1.2:

    • Fixed errors because I forgot to actually test compile
    • cleanup.sh removes subclassWatch so I moved it into each version for now
  • 1.2.0:

    • Minecraft 1.18 support
  • 1.2.1:

    • Actually changed the version at the top of the readme.
  • 1.3.0:

    • Minecraft 1.18.1 support
    • moved non-bukkit packages out of each version (java, snakeyaml, guava) and into the external folder
    • added versions to readme
  • 1.4.0:

    • Minecraft 1.18.2 support
    • moved most types and constants out into a global file as well as package descriptions
    • Actually added a reference for org.bukkit.Skull
    • Forgot getTicksPerWaterUndergroundCreatureSpawns and getWaterUndergroundCreatureSpawnLimit in org.bukkit.Bukkit and org.bukkit.World (1.17.1+)
    • Forgot isWhitelistEnforced in org.bukkit.Bukkit (1.17+)
    • Removed unused files from 1.18.1
    • Removed return from functions with return type void... because why not.
  • 1.14.1:

    • Actually added the second argument (for the command) to org.bukkit.Server.dispatchCommand()

Notes:

  • Make sure to run subclassWatch.js if you wish to use any of the following directly in your code:
    • Subclasses
    • The org.bukkit.plugin.java package
    • etc. (if anything has a symbol in its name, use the script if you want to use it directly)
  • org.bukkit.configuration is kind of a mess because somebody thought it was a great idea to name both a method and field options so now it causes tons of problems. Thanks.

TODOS:

  • Make sure all constructors have descriptions,
    • [^/][\t ]*\n[\t ]constructor([\w :.<>_$])[ ;{]+