Add SetBlockMeta warning in documentation (#4943)
+ Add SetBlockMeta warning in documentation Co-authored-by: pwnOrbitals <c.de-claverie@pm.me>
This commit is contained in:
parent
3917b250b0
commit
be841b4769
@ -542,6 +542,7 @@ return
|
||||
only used as a parameter for the {{OnChunkGenerating|OnChunkGenerating}} and
|
||||
{{OnChunkGenerated|OnChunkGenerated}} hooks and cannot be constructed on its own. Plugins can use this
|
||||
class in both those hooks to manipulate generated chunks.
|
||||
Calls to any setter of this class will not trigger simulator updates (lava, water, redstone).
|
||||
]],
|
||||
Functions =
|
||||
{
|
||||
@ -1119,7 +1120,7 @@ return
|
||||
Type = "EMCSBiome",
|
||||
},
|
||||
},
|
||||
Notes = "Sets the biome at the specified relative coords",
|
||||
Notes = "Sets the biome at the specified relative coords.",
|
||||
},
|
||||
SetBlockMeta =
|
||||
{
|
||||
@ -1142,7 +1143,7 @@ return
|
||||
Type = "number",
|
||||
},
|
||||
},
|
||||
Notes = "Sets the block meta at the specified relative coords",
|
||||
Notes = "Sets the block meta at the specified relative coords.",
|
||||
},
|
||||
SetBlockType =
|
||||
{
|
||||
|
@ -37,6 +37,9 @@ return
|
||||
<li>Modify blocks inside cBlockArea</li>
|
||||
<li>Write the area back to a world / save to file</li>
|
||||
</ul></p>
|
||||
<p>
|
||||
Calls to any setter of this class will not trigger simulator updates (lava, water, redstone).
|
||||
</p>
|
||||
]],
|
||||
Functions =
|
||||
{
|
||||
@ -1621,7 +1624,7 @@ return
|
||||
Type = "number",
|
||||
},
|
||||
},
|
||||
Notes = "Sets the block meta at the specified absolute coords",
|
||||
Notes = "Sets the block meta at the specified absolute coords.",
|
||||
},
|
||||
SetBlockSkyLight =
|
||||
{
|
||||
|
@ -2802,7 +2802,7 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
|
||||
Type = "number",
|
||||
},
|
||||
},
|
||||
Notes = "Sets the meta for the block at the specified coords.",
|
||||
Notes = "Sets the meta for the block at the specified coords. Any call to SetBlockMeta will not generate a simulator update (water, lava, redstone), consider using SetBlock instead.",
|
||||
},
|
||||
{
|
||||
Params =
|
||||
@ -2816,7 +2816,7 @@ function OnAllChunksAvailable()</pre> All return values from the callbacks are i
|
||||
Type = "number",
|
||||
},
|
||||
},
|
||||
Notes = "Sets the meta for the block at the specified coords.",
|
||||
Notes = "Sets the meta for the block at the specified coords. Any call to SetBlockMeta will not generate a simulator update (water, lava, redstone), consider using SetBlock instead.",
|
||||
},
|
||||
},
|
||||
SetChunkAlwaysTicked =
|
||||
|
Loading…
Reference in New Issue
Block a user