Interface TeleportHelperFilter

    • Method Detail

      • isSafeFloorMaterial

        boolean isSafeFloorMaterial​(BlockState blockState)
        Tests whether a BlockState should be considered a safe block to land on.
        Parameters:
        blockState - The BlockState to check
        Returns:
        true if the material should be safe to land on
      • isSafeBodyMaterial

        boolean isSafeBodyMaterial​(BlockState blockState)
        Tests whether a BlockState should be considered a safe block for the body to be inside of.

        Generally, you want this to be a passable block!

        Parameters:
        blockState - The BlockState to check
        Returns:
        true if the material should be safe for the body to be inside of