Add ray tracing and bounding box API

By: blablubbabc <lukas@wirsindwir.de>
This commit is contained in:
Bukkit/Spigot
2018-10-26 19:59:36 +11:00
parent 0283ef18f5
commit 55523cfcfc
12 changed files with 1770 additions and 14 deletions

View File

@@ -0,0 +1,20 @@
package org.bukkit;
/**
* Determines the collision behavior when fluids get hit during ray tracing.
*/
public enum FluidCollisionMode {
/**
* Ignore fluids.
*/
NEVER,
/**
* Only collide with source fluid blocks.
*/
SOURCE_ONLY,
/**
* Collide with all fluids.
*/
ALWAYS;
}