• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

Usage of source blocks

Pride

Verified Member
you talking about something like this? (this is for water btw)
Code:
sourceBlock = BlockSource.getWaterSourceBlock(player, selectRange, ClickType.SHIFT_DOWN, false, false, true);
if you are, probably somewhere here if thats what youre saying
Code:
public Something(Player player) {
        super(player);
        if (!bPlayer.canBend(this)) {
            return;
        }
        //here or something//
        start();
    }
}
 

Simplicitee

Staff member
Plugin Developer
Verified Member
It depends on how you want to use the source block and how the player is selecting it. Can you explain how you're going to do this?
 
Top