# typesforbukkit

> Types For Bukkit

Latest version **1.4.1** (published 2022-05-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install typesforbukkit
pnpm add typesforbukkit
yarn add typesforbukkit
bun add typesforbukkit
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.1 |
| Published | 2022-05-27 |
| First published | 2021-11-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tom Hetrick Jr. |
| Maintainers | hetrick |
| Keywords | types, bukkit, placeholderapi |

## Links

- npm: https://www.npmjs.com/package/typesforbukkit
- npm.io page: https://npm.io/package/typesforbukkit

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.4.1 (latest) — 2022-05-27
- 1.4.0 — 2022-04-10
- 1.3.0 — 2021-12-25
- 1.2.1 — 2021-12-07
- 1.2.0 — 2021-12-07
- 1.1.2 — 2021-11-26
- 1.1.1 — 2021-11-26
- 1.1.0 — 2021-11-26
- 1.0.0 — 2021-11-21

## 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 :.<>_$]*\)[ ;{]+

---
_Source: https://npm.io/package/typesforbukkit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
