Add API to remove blocks, change PlaceBlock return type and others #4
NorbiPeti
commented 2020-04-13 00:34:53 +00:00
(Migrated from git.exmods.org)
- Created a block removal API that takes a block's ID
- Created a BlockUtility class that currently has a method to find the block the player is looking at
- Removed IsBuildMode() and IsSimulationMode() methods from the block engines as they are just calling the GameState API
- Changed the Placement.PlaceBlock() method's return type from bool to the block's ID or null
* Created a block removal API that takes a block's ID
* Created a BlockUtility class that currently has a method to find the block the player is looking at
* Removed IsBuildMode() and IsSimulationMode() methods from the block engines as they are just calling the GameState API
* Changed the Placement.PlaceBlock() method's return type from bool to the block's ID or null
No reviewers
Labels
No labels
bug
docs
duplicate
enhancement
help wanted
invalid
question
wishlist
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ExMods/TechbloxModdingAPI#4
Loading…
Reference in a new issue
No description provided.
Delete branch "unknown repository"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?