Compare commits

..

1 commit

Author SHA1 Message Date
Jason the Leech
18ab7e887c
fixed typo 2023-03-24 01:11:31 -04:00
2 changed files with 1 additions and 2 deletions

View file

@ -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 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`. UPDATE: the colour delay is a thing of the past if you use minetest 5.8.0 or newer. 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`.
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. 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.

View file

@ -46,7 +46,6 @@ do
groups = itemgroup, groups = itemgroup,
sounds = block_sound, sounds = block_sound,
node_placement_prediction = "hexcol:"..firsthex.."xx", node_placement_prediction = "hexcol:"..firsthex.."xx",
place_param2 = tonumber("0x"..p2hex),
on_place = function(itemstack, placer, pointed_thing) on_place = function(itemstack, placer, pointed_thing)
if not (creative and creative.is_enabled_for if not (creative and creative.is_enabled_for
and creative.is_enabled_for(placer:get_player_name())) and creative.is_enabled_for(placer:get_player_name()))