Package vazkii.botania.api.block
Interface WandBindable
- All Superinterfaces:
Bound
- All Known Implementing Classes:
AgricarnationBlockEntity,AgricarnationBlockEntity.Mini,BellethornBlockEntity,BellethornBlockEntity.Mini,BindableSpecialFlowerBlockEntity,BubbellBlockEntity,BubbellBlockEntity.Mini,ClayconiaBlockEntity,ClayconiaBlockEntity.Mini,DaffomillBlockEntity,DandelifeonBlockEntity,DreadthornBlockEntity,EndoflameBlockEntity,EntropinnyumBlockEntity,ExoflameBlockEntity,FallenKanadeBlockEntity,FluidGeneratorBlockEntity,FunctionalFlowerBlockEntity,GeneratingFlowerBlockEntity,GourmaryllisBlockEntity,HeiseiDreamBlockEntity,HopperhockBlockEntity,HopperhockBlockEntity.Mini,HyacidusBlockEntity,HydroangeasBlockEntity,JadedAmaranthusBlockEntity,JiyuuliaBlockEntity,JiyuuliaBlockEntity.Mini,KekimurusBlockEntity,LabelliaBlockEntity,LooniumBlockEntity,LuminizerBlockEntity,ManaSpreaderBlockEntity,MarimorphosisBlockEntity,MarimorphosisBlockEntity.Mini,MedumoneBlockEntity,MunchdewBlockEntity,NarslimmusBlockEntity,OrechidBlockEntity,OrechidIgnemBlockEntity,PollidisiacBlockEntity,RafflowsiaBlockEntity,RannuncarpusBlockEntity,RannuncarpusBlockEntity.Mini,RosaArcanaBlockEntity,ShulkMeNotBlockEntity,SolegnoliaBlockEntity,SolegnoliaBlockEntity.Mini,SpectranthemumBlockEntity,SpectrolusBlockEntity,TangleberrieBlockEntity,TangleberrieBlockEntity.Mini,ThermalilyBlockEntity,TigerseyeBlockEntity,VinculotusBlockEntity
A BlockEntity that implements this can be bound to another block
via the Wand of the Forest.
-
Field Summary
Fields inherited from interface vazkii.botania.api.block.Bound
UNBOUND_POS -
Method Summary
Modifier and TypeMethodDescriptionbooleanbindTo(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack wand, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side) Call to bind the TileEntity to where the player clicked.booleancanSelect(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack wand, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side) Return true if the Wand can select this tile.Methods inherited from interface vazkii.botania.api.block.Bound
getBinding
-
Method Details
-
canSelect
boolean canSelect(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack wand, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side) Return true if the Wand can select this tile. -
bindTo
boolean bindTo(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack wand, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side) Call to bind the TileEntity to where the player clicked. Return true to deselect the TileEntity for another bind or false case the TileEntity should stay selected.
-