Compare commits
2 commits
18ab7e887c
...
1e25a1d446
Author | SHA1 | Date | |
---|---|---|---|
|
1e25a1d446 | ||
|
e305c5c51f |
2 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,7 @@ Lets say you place down the colour `#49f` the node that is placed down is `hexco
|
|||
|
||||
The upside to this approch is that load times are much faster for players, and less nodes are registered so other big mods can use the use the space instead.
|
||||
|
||||
The downside is that its harder to use with worldedit and when placing the nodes using the craftitem, the colour is delayed. So if you place `#49f` it wll show up as `#400` for a split second depending on server ping as it places down `hexcol:4xx` and then sets the param2 to `0x9f`.
|
||||
The downside is that its harder to use with worldedit and when placing the nodes using the craftitem, the colour is delayed. So if you place `#49f` it wll show up as `#400` for a split second depending on server ping as it places down `hexcol:4xx` and then sets the param2 to `0x9f`. UPDATE: the colour delay is a thing of the past if you use minetest 5.8.0 or newer.
|
||||
|
||||
This mod is currently only for use with creative mode. There is no way to obtain the nodes in survival. Anyone is welcome to make a mod to provide such a method.
|
||||
|
||||
|
|
1
init.lua
1
init.lua
|
@ -46,6 +46,7 @@ do
|
|||
groups = itemgroup,
|
||||
sounds = block_sound,
|
||||
node_placement_prediction = "hexcol:"..firsthex.."xx",
|
||||
place_param2 = tonumber("0x"..p2hex),
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
if not (creative and creative.is_enabled_for
|
||||
and creative.is_enabled_for(placer:get_player_name()))
|
||||
|
|
Loading…
Reference in a new issue