-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e5a8ee8
commit 7dbd11b
Showing
7 changed files
with
64 additions
and
49 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
paper-api/src/main/java/io/papermc/paper/raytrace/BlockCollisionMode.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package io.papermc.paper.raytrace; | ||
|
||
/** | ||
* Determines the collision behavior when blocks get hit during ray tracing. | ||
*/ | ||
public enum BlockCollisionMode { | ||
|
||
/** | ||
* Use the collision shape. | ||
*/ | ||
COLLIDER, | ||
/** | ||
* Use the outline shape. | ||
*/ | ||
OUTLINE, | ||
/** | ||
* Use the visual shape. | ||
*/ | ||
VISUAL, | ||
/** | ||
* Use the shape of a full block, but only consider blocks tagged with {@link org.bukkit.Tag#FALL_DAMAGE_RESETTING}. | ||
*/ | ||
FALL_DAMAGE_RESETTING | ||
|
||
} |
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
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
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