2.6
This commit is contained in:
@@ -133,8 +133,8 @@ method in mod.server.component.blockInfoCompServer.BlockInfoComponentServer
|
||||
```python
|
||||
import mod.server.extraServerApi as serverApi
|
||||
comp = serverApi.GetEngineCompFactory().CreateBlockInfo(levelId)
|
||||
blockDict = comp.SetBlockBasicInfo("minecraft:stone", {"blockLightEmission":1,
|
||||
"blockLightAbsorption":1,
|
||||
blockDict = comp.SetBlockBasicInfo("custom:custom_block", {"destroyTime":1,
|
||||
"loot":"loot_tables/block/custom_block_drop.json",
|
||||
"solid":False,
|
||||
"tier":{"level":3}})
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user