public interface PathProvider
Modifier and Type | Method and Description |
---|---|
java.lang.String |
pathFor(net.minecraft.item.ItemStack stack)
Get the path to the documentation page for the provided item stack.
|
java.lang.String |
pathFor(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
Get the path to the documentation page for the provided block.
|
java.lang.String pathFor(net.minecraft.item.ItemStack stack)
stack
- the stack to get the documentation path to.java.lang.String pathFor(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
world
- the world containing the block.pos
- the position coordinate of the block.