Package at.petrak.hexcasting.api.client
Interface ScryingLensOverlayRegistry.OverlayBuilder
- Enclosing class:
- ScryingLensOverlayRegistry
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Return the lines displayed by the cursor: an item and some text.
The ItemStack can be empty; if it is, the text isn't shifted over for it.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddLines(List<com.mojang.datafixers.util.Pair<net.minecraft.world.item.ItemStack, net.minecraft.network.chat.Component>> lines, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player observer, net.minecraft.world.level.Level world, net.minecraft.core.Direction hitFace)
-
Method Details
-
addLines
void addLines(List<com.mojang.datafixers.util.Pair<net.minecraft.world.item.ItemStack, net.minecraft.network.chat.Component>> lines, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player observer, net.minecraft.world.level.Level world, net.minecraft.core.Direction hitFace)
-