From 51047a9df50ee0dd8bfaa75cc314855ecb522702 Mon Sep 17 00:00:00 2001
From: rubenwardy
param2
.
If drawtype mesh
is used, tiles should hold model materials textures.
-Only static meshes are implemented.
+Only static meshes are implemented.
For supported model formats see Irrlicht engine documentation.
Noise Parameters, or commonly called "NoiseParams
", define the properties of perlin noise.
scale
parameter in noise_params
.
IMPORTANT: The noise is not transformed by offset
or scale
when comparing against the noise
-threshold, but scale is used to determine relative height.
+threshold, but scale is used to determine relative height.
The height of the blob is randomly scattered, with a maximum height of clust_size
.
clust_scarcity
and clust_num_ores
are ignored.
This is essentially an improved version of the so-called "stratus" ore seen in some unofficial mods.
blob
Creates a deformed sphere of ore according to 3d perlin noise described by +
Creates a deformed sphere of ore according to 3d perlin noise described by
noise_params
. The maximum size of the blob is clust_size
, and
clust_scarcity
has the same meaning as with the scatter
type.
Client predicts damage based on damage groups. Because of this, it is able to
give an immediate response when an entity is damaged or dies; the response is
pre-defined somehow (e.g. by defining a sprite animation) (not implemented;
-TODO).
+TODO).
Currently a smoke puff will appear when an entity dies.
The group immortal
completely disables normal damage.
Entities can define a special armor group, which is punch_operable
. This
@@ -2281,6 +2281,10 @@ and minetest.auth_reload
call the authetification handler.
minetest.do_item_eat(hp_change, replace_with_item, itemstack, user, pointed_thing)
: returns left over ItemStackminetest.item_eat
and minetest.register_on_item_eat
minetest.auth_reload
call the authetification handler.
minetest.item_eat(hp_change, replace_with_item)
replace_with_item
can be nil
.replace_with_item
is the itemstring which is added to the inventory.
+ If the player is eating a stack, then replace_with_item goes to a
+ different spot. Can be nil
minetest.do_item_eat
NodeMetaRef
Node metadata: reference extra data and functionality stored in a node.
+
Node metadata: reference extra data and functionality stored in a node.
Can be gotten via minetest.get_meta(pos)
.
minetest.get_meta(pos)
.
NoteTimerRef
Node Timers: a high resolution persistent per-node timer.
+
Node Timers: a high resolution persistent per-node timer.
Can be gotten via minetest.get_node_timer(pos)
.
nil
.
PerlinNoise
A perlin noise generator.
It can be created via PerlinNoise(seed, octaves, persistence, scale)
-or PerlinNoise(noiseparams)
.
+or PerlinNoise(noiseparams)
.
Alternatively with minetest.get_perlin(seeddiff, octaves, persistence, scale)
or minetest.get_perlin(noiseparams)
.