mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
make core:obstacle unbreakable
This commit is contained in:
parent
50c7308211
commit
d62d66cf85
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ void corecontent::setup(EnginePaths* paths, ContentBuilder* builder) {
|
||||||
block.textureFaces[i] = "obstacle";
|
block.textureFaces[i] = "obstacle";
|
||||||
}
|
}
|
||||||
block.hitboxes = {AABB()};
|
block.hitboxes = {AABB()};
|
||||||
|
block.breakable = false;
|
||||||
ItemDef& item = builder->items.create(CORE_OBSTACLE+".item");
|
ItemDef& item = builder->items.create(CORE_OBSTACLE+".item");
|
||||||
item.iconType = item_icon_type::block;
|
item.iconType = item_icon_type::block;
|
||||||
item.icon = CORE_OBSTACLE;
|
item.icon = CORE_OBSTACLE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue