Class BlockBehaviorRightClickPickup
- Namespace
- Vintagestory.GameContent
- Assembly
- VSSurvivalMod.dll
Allows a block to be picked up with a right click. Uses the code "RightClickPickup".
[DocumentAsJson]
public class BlockBehaviorRightClickPickup : BlockBehavior
- Inheritance
-
BlockBehaviorRightClickPickup
Fields
dropsPickupMode (Optional) (Default: False)
If true, uses the blocks defined drops instead of simply collecting the block. Otherwise, uses the default 'pick block' feature.
[DocumentAsJson("Optional", "False", false)]
private bool dropsPickupMode
Field Value
pickupSound (Optional) (Default: None)
The sound to play when the block is collected.
[DocumentAsJson("Optional", "None", false)]
private AssetLocation pickupSound