Can please somebody tell me detailed usage of source blocks and where to place the codes?
TheBendingCat_ Member Jan 22, 2019 #1 Can please somebody tell me detailed usage of source blocks and where to place the codes?
Pride Member Jan 24, 2019 #3 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(); } }
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 Jan 24, 2019 #4 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?
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?