nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)

Raycast Execute Sub-Command

Mod

A mod that adds an execute sub-command that updates the position into the next collidable voxel shape.

Server Game MechanicsManagementUtility

13 downloads
1 follower

The syntax is the following:

execute -> raycast <ratio> -> execute

Example:

execute positioned ~ ~1.62 ~ raycast 1 run tp @s ~ ~ ~

This will effectively teleport the player to the block it was looking at even with odd shapes or through liquids.

It replaces the need to do raycasting by commands which could cost performance.

External resources


Project members

ElitoSear

Member


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID