Interface ISpellTransformationManager
public interface ISpellTransformationManager
Interface representing a spell transformation manager.
-
Method Summary
Modifier and TypeMethodDescriptionOptional<net.minecraft.world.level.block.state.BlockState>getTransformationFor(net.minecraft.world.level.block.state.BlockState block, net.minecraft.world.level.Level level, net.minecraft.resources.ResourceLocation spellPart)
-
Method Details
-
getTransformationFor
Optional<net.minecraft.world.level.block.state.BlockState> getTransformationFor(net.minecraft.world.level.block.state.BlockState block, net.minecraft.world.level.Level level, net.minecraft.resources.ResourceLocation spellPart) - Parameters:
block- The block to check the transition for.level- The level to check the transition for.spellPart- The spell part to check the transition for.- Returns:
- The transitioned block state for the given block and spell part or empty.
-