Commit Graph

4781 Commits

Author SHA1 Message Date
PrairieAstronomer
4bc67a174b Loom 2022-05-14 15:34:08 -06:00
PrairieAstronomer
c71b036e6a Cartography Table 2022-05-14 15:24:44 -06:00
PrairieAstronomer
046698c64f Fletching Table 2022-05-14 15:14:50 -06:00
chmodsayshello
00dba67cd8 remove lodestone compass from creative inventory 2022-05-12 19:06:13 +02:00
kabou
872b708465 Remove unused variable.
* Removed unused variable `stack_max`.
2022-05-11 21:45:15 +02:00
kabou
74e70b674e Fix return value of get_compass_image().
* `get_compass_image()` did not actually return the image number.
2022-05-11 21:43:52 +02:00
kabou
14c882f982 Fix lodestone compass meta handling.
* The nature of a compass was being determined by looking at its meta.
  This caused lodestone compasses with unset meta to turn into regular
  compasses.  Fixed by using string matching on the itemname.
* Changed lodestone rightclick handler to explicitly set the correct
  name and frame of the compass used on it instead of waiting for
  globalstep to do this.
2022-05-11 21:31:50 +02:00
kabou
8ae605165b Fix lodestone compass stack_max.
* Lodestone compasses are stackable.
* Remove hardcoded `stack_max` setting, use default.
2022-05-11 17:53:41 +02:00
kabou
aca4aca79b Add German translation.
* Add "de" (German) translation by chmodsayshello.
2022-05-11 17:43:57 +02:00
kabou
bacc7613b5 Fix crash in mt 5.4 with vector ops.
* `vector.from_string()` is not available in mt pre-5.5.  Replace with
  `minetest.string_to_pos()`.
2022-05-11 17:41:10 +02:00
kabou
8a4b8707fa Add new compass API.
* Add API.md
* Update mcl_itemframes to use the new API.
* Revert old exported function back to original API.
2022-05-10 23:38:28 +02:00
kabou
a8c231da34 Refactor compass code.
* Split up `get_compass_image()` into smaller functions.  This allows
  for better code sharing between old and new API and globalstep fn.
* Add `get_compass_itemname()` function.  It will be the new API of
  choice, `get_compass_image() will be deprecated soon.
* Remove function declaration out of globalstep function.
* Various other performance improvements.
* Add local aliases for global functions
* Lodestone compasses can only stack 1 item.
* Document functions and variables.
* Fix lodetone compass inaccurately reusing compass descriptions.
* Add usage descriptions to node definitions
* Refactor craftitem registration code.
* Update translation templates.
2022-05-10 22:43:03 +02:00
MysticTempest
44b1d583a7 Potion Fixes:
Ensure all potion icons disappear after their effect is gone.
Stop Breath bar from flashing when water_breathing is in effect.
2022-05-09 05:18:59 -05:00
chmodsayshello
6cb08a3c87 update dependencies 2022-05-08 19:57:09 +00:00
chmodsayshello
31a8ddabb8 minor changed (see long description)
This commit makes charged respawn anchors light sources, all respawn anchors can no longer be pushed by pistons and always drop the uncharged one
2022-05-08 19:57:09 +00:00
chmodsayshello
6806ea311d code from inital PR 2022-05-08 19:57:09 +00:00
cora
f1fc84b31b fix referencing mistake with cracked deepslate 2022-05-06 10:48:02 +00:00
AFCMS
f9a2dacdd4 Fix texture and sound names in mcl_amethyst 2022-05-05 22:49:23 +02:00
AFCMS
00c70014c7 Fix codestyle and translation of mcl_amethyst 2022-05-05 22:49:23 +02:00
3raven
f4020ebd31 mcl_amethyst.fr.tr
Translation
2022-05-05 22:49:23 +02:00
kay27
74322ead49 #11 Polish amethyst stuff 2022-05-05 22:49:23 +02:00
kay27
1a83f50505 Fix amethyst buds light levels again 2022-05-05 22:49:23 +02:00
kay27
206c98e354 Fix various amethyst errors, better seed function 2022-05-05 22:49:23 +02:00
kay27
69e83d5c0a #11 Spawn buds 2022-05-05 22:49:23 +02:00
kay27
d3dfd13f78 #11 Fix the style, add template.txt, add Russian translation 2022-05-05 22:49:23 +02:00
kay27
e28ccd9a80 #11 Put tabs instead of each 2 spaces 2022-05-05 22:49:23 +02:00
kay27
a5fba06a2c #11 Remove amethyst screenshot 2022-05-05 22:49:23 +02:00
Emojigit
6c36c83a18 AMethyst Growing 2022-05-05 22:49:23 +02:00
Emojigit
48a4e069f9 craft bugfix 2022-05-05 22:49:23 +02:00
Emojigit
60e04438e0 typo missing space 2022-05-05 22:49:23 +02:00
Emojigit
0b01d299ea 更新 'mods/ITEMS/mcl_amethyst/init.lua' 2022-05-05 22:49:23 +02:00
Emojigit
ebdf944dda amethyst bud 2022-05-05 22:49:23 +02:00
Emojigit
794e10df4e [mcl_amethyst] INIT
* Amethyst Block
* Budding Amethyst (won't  grow amethyst now)
* New spyglass recipe
* Tinted Glass
* Calcite
2022-05-05 22:49:23 +02:00
cora
6a2fe2eb4f remove ancient backup "init_new.lua" 2022-05-05 04:05:08 +00:00
kabou
1266396e1d Add cobbled deepslate to cobble group.
By adding cobbled deepslate to the group "cobble", it automatically
inherits  all crafting recipes and tool repair capabilities that apply
to that group.

* Add `cobble=1` to cobbled deepslate node definition groups.  This
  requires a little refactoring of the deepslate variants registration
  function.
* Remove stone tools, furnace and brewing stand crafting recipes.
2022-05-05 01:45:03 +02:00
kabou
f5abc28190 Allow smelting of deepslate ores.
* Register "cooking" crafting recipe for deepslate ores that enables
  smelting these ores in furnaces.
* Extend deepslate ore registration function to allow passing cooking
  result as argument.
* Update the deepslate ore table to include smelting results.
* Put deepslate w/ lapis drops in a separate table, making the deepslate
  ores table less unwieldly.
2022-05-04 23:35:07 +00:00
AFCMS
f8f6ea22c8 Fix codestyle issues with mcl_deepslate, mcl_copper, mcl_raw_ores 2022-05-04 23:35:07 +00:00
cora
b0b8ef3921 Comment out ore registrations for now
The discussion about how to handle the new ores is still ongoing.
This PR was originally only intended to add the new nodes so
that's what it does now.
2022-05-04 23:35:07 +00:00
cora
be6d2db7d4 remove redundant license files 2022-05-04 23:35:07 +00:00
cora
dc40ed18b3 remove raw_ores item override 2022-05-04 23:35:07 +00:00
cora
1b99de73d2 remove screenshots from original mods 2022-05-04 23:35:07 +00:00
NO11
c97e0cd631 Add deepslate 2022-05-04 23:35:07 +00:00
NO11
8c7a8a61d2 Add Copper 2022-05-04 23:35:07 +00:00
NO11
6bdaa9f2d1 Add raw ores 2022-05-04 23:35:06 +00:00
kabou
dceb48bf94 Fix undefined variable in mcl_enchanting/engine.lua. 2022-05-04 23:31:54 +00:00
AFCMS
8a47a195f6 Remove preview files 2022-05-04 23:15:11 +00:00
AFCMS
d0b60e2399 Fix player armor enchanting overlay (#2161) 2022-05-04 23:15:11 +00:00
AFCMS
3ca40cd4e4 Remove 2D preview 2022-05-04 23:15:11 +00:00
kabou
920b8b9654 Bookshelves are deco blocks, not building blocks. 2022-05-04 23:06:05 +00:00
kabou
f1a494ea62 Change stone tool repair materal to group:cobble.
* Update repair material for stone tools (pick, shovel, axe, sword and
  hoe) to use any cobble group stone.
2022-05-05 01:01:29 +02:00
kabou
64bb50dfd5 Change some crafting recipes to use group:cobble.
* Update crafting recipes for stone tools (pick, shovel, axe, sword and
hoe), furnace and brewing stand to use any cobble group stone.
2022-05-04 15:54:12 +02:00
kabou
9edb40b5c5 Add cobblestone to the cobble group. 2022-05-04 15:14:23 +02:00
kabou
ed8995acec Fix add_large_plant() argument mismatch.
* In commit 86b2cd70f9 an extra argument
  was added to the `add_large_plant()` function in order to handle silk
  touch.  For some reason, the callers for "double_grass" and
  "double_fern" were updated with two new arguments.  Because of this,
  silk touch likely never worked on these nodes.  This commit removes
  the unused `nil` argument from both callers.
* This commit fixes #2155.
2022-05-01 10:31:01 +00:00
chmodsayshello
f1c60a48e0 remove debug logging 2022-04-30 10:02:04 +00:00
chmodsayshello
c97fc42b68 upload textures 2/2 2022-04-30 09:02:17 +00:00
chmodsayshello
92cd3381ad upload textures 1/2 2022-04-30 09:01:57 +00:00
chmodsayshello
f7a5862df2 update mcl_itemframes to use get_compass_image correctly 2022-04-30 08:59:25 +00:00
chmodsayshello
ba8e072265 update mcl_compass dependencies 2022-04-30 08:58:04 +00:00
chmodsayshello
f9d8b61dc1 update mcl_compass init.lua 2022-04-30 08:57:03 +00:00
Nils Dagsson Moskopp
057051aa6d Add packed ice crafting recipe 2022-04-27 00:33:01 +02:00
Nils Dagsson Moskopp
cbf3dc49aa Replace grass path with dirt path
If a player wants to make a path when there is no dirt with grass on the
ground it means they need to either have silk touch to collect dirt with
grass or place dirt beside dirt with grass and wait for the grass cover
to spread before they can create the new paths …

Since the former is not possible early in the game and the latter is not
easy, this patch imitates Minecraft 1.17 behaviour; the following nodes
can now be turned into path nodes by right-clicking them with a shovel:

• Dirt (mcl_core:dirt)
• Coarse Dirt (mcl_core:coarse_dirt)
• Dirt with Grass (mcl_core:dirt_with_grass)
• Mycelium (mcl_core:mycelium)
• Podzol (mcl_core:podzol)

A group “path_creation_possible” has been added to mark nodes that can
be turned into a dirt path with a shovel. One obvious objection to that
addition might be that the “dirt” group already exists. Even though all
existing nodes that can be turned into a dirt path do indeed belong to
the “dirt” group, it is not a good idea: Changing what “dirt” means to
“any node that can be turned into a dirt path” would make it harder to
maintain the code.
2022-04-25 15:33:01 +02:00
cora
6bc676545b Allow saplings to grow on coarse d. and mycelium 2022-04-25 15:30:45 +02:00
cora
5f126c4686 add hypercopyrighted end crystal beam texture
This texture has the following poem written by me, cora, encoded in its
pixeldata. I the author hereby release both the texture file and the
poem as cc0.

Additionally I explicitly consent with its inclusion into MineClone2,
MineClone5 and Mineclonia as well as any other minetest game for this
day and all the days to come.

Shall though betray me with a texture, mate
I'll smile at though just like a summer's day
The raindrop particles - no laggy state
But spring is coming, really, soon it's may

As If the seasons meant a damn to us
They do not exist in mineclone at all
unreal water flow, iron never rusts
but copper does in summer and in fall

But what this literally is about
because this damn thing is really silly
you see somehow they had to say it loud

I would bring that quote with painting lilys
but plagerism everywhere you see
so this will just be good enough for me
2022-04-24 01:46:57 +02:00
Nils Dagsson Moskopp
67ae203772 Trigger node callbacks when pumpkin is sheared
The code for shearing a pumpkin used minetest.swap_node() to replace a
faceless pumpkin with a carved pumpkin. This did not trigger the node
callbacks of the carved pumpkin, which meant that shearing a pumpkin
would not check for the snow golem or iron golem spawn conditions.

This patch replaces minetest.swap_node() in the code for shearing a
pumpkin with minetest.set_node(), which does trigger the callbacks;
therefore snow and iron golems can now spawn as a pumpkin is carved.
2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp
56db877360 Disconnect gourd stems after destruct
While testing the previous commit, it became clear that gourd stems do
not disconnect properly if the gourd disappears while not being dug. A
simple method to create illegal curved stems was to explode the gourd.

This patch changes gourds so that the stem curves back after a gourd is
destroyed, regardless of reason. This hopefully makes curved stems that
are not connected to matching gourds a relict of the past.
2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp
e1d67a2095 Disconnect stems from carved pumpkins after dig
Carved pumpkins can end up being connected to a stem – either if they
were grown in a previous version of MineClone2 or Mineclonia, or if a
player carves them before harvesting them. This patch makes sure that
stems turn into unconnected stems after such a carved pumpkin is dug.
2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp
4fda54b0d1 Remove pumpkin pie recipe with carved pumpkin
Shearing an uncarved pumpkin turns it into a carved pumpkin and drops
four pumpkin seeds. As map generation and growing mechanics have been
changed to generate uncarved pumpkins instead of carved, preserving a
recipe to get pumpkin pie from carved pumpkins enabled players to get
both seeds and pumpkin pie from grown pumpkins, which was unintended.
2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp
9a53761b08 Remove pumpkin seeds recipe with carved pumpkin
Shearing an uncarved pumpkin turns it into a carved pumpkin and drops
four pumpkin seeds. As map generation and growing mechanics have been
changed to generate uncarved pumpkins instead of carved, preserving a
recipe to get seeds from carved pumpkins enables players to get twice
the amount of seeds as intended. Because of this, the recipe must go.
2022-04-22 18:07:37 +00:00
Alexander Minges
9b614c115c Grow uncarved pumpkin from seeds instead of carved
Carved pumpkin has to be explicitly registered as a separate node, as
registering a carved pumpkin node happened as a side effect of invoking
mcl_farming:add_gourd() for the carved pumpkin.

The iron / snow golem spawning checks that trigger whenever a carved
pumpkin is placed had to be moved out of the mcl_farming:add_gourd()
invocation to preserve the existing behaviour.

Note that uncarved pumpkin must not be registered as a separate node,
as invoking mcl_farming:add_gourd() for a registered node name leads to
stems not updating when an adjacent node is manually placed or mined.
2022-04-22 18:07:37 +00:00
cora
a83a2e9aba generate podzol under huge spruce trees 2022-04-21 22:25:47 +00:00
AFCMS
8396dfe7e3
enderdragon egg: check for protection on punch 2022-04-21 21:02:43 +02:00
Nils Dagsson Moskopp
34b5002fc8
Shuffle pixels in mcl_end_crystal_beam.png
A user claimed that this texture was a texture from Minecraft 1.8.9 –
see <https://git.minetest.land/MineClone2/MineClone2/issues/2099> for
further details. I have not verified that but I noticed that in commit
152e552458 the file was replaced with a
file containing the exact same pixels.

A visual inspection confirms that the file contains noise, so it is not
clear if it is even copyrightable. However, to ensure that it could not
be identical to a file from Minecraft, To get noise of the same quality,
I have shuffled all its pixels with the following POSIX sh shell script:

LANG=C
PREFIX=mcl_end_crystal_beam
convert $PREFIX.png $PREFIX.pnm
<$PREFIX.pnm  >$PREFIX.plainpnm pnmtoplainpnm
<$PREFIX.plainpnm >$PREFIX.seed tr '1234567890 ' ' 1356902468'
(
 <$PREFIX.plainpnm head -n+3
 <$PREFIX.plainpnm tail -n+4 \
  |tr ' ' '\n' \
  |shuf --random-source $PREFIX.seed
) >$PREFIX.shuffled.plainpnm

I then opened mcl_end_crystal_beam.shuffled.plainpnm using GIMP,
converted the color black to tranparency and saved the image as a
paletted PNG (which yields a smaller filesize than a grayscale PNG).
2022-04-16 01:24:04 +02:00
NO411
e790bf90f4 Make shields work with all mobs 2022-04-09 16:21:22 +02:00
cora
e7970ecce5 shields: Fix crash when deflecting ghast fireball 2022-04-07 22:40:48 +02:00
kabou
152e552458 Replace mcl_end_crystal_beam.png with free version.
* Replace mcl_end_crystal_beam.png with unknown provenance with a
  version from the PixelPerfection texture pack that has a know good
  free licence.
2022-04-06 23:04:01 +02:00
kabou
f3b28df6cc Rework function comments.
* Move descriptive function comments to above the function definition.
* Adopt some luadoc styles.
* Update a stale reference to a renamed function in comments.
2022-04-02 03:32:56 +02:00
kabou
f37f8b6bca Return itemstack in composter_harvest().
* `composter_harvest()` is a `on_rightclick` handler and should return
  what remains of the ItemStack that was passed to it.
2022-04-02 03:32:56 +02:00
kabou
2ba801dfc7 Add protection support to composter.
* Add checks for `minetest.is_protected()` and log any violations.
* Add local aliases for global functions.
2022-04-02 03:32:56 +02:00
kabou
19eb31f389 Streamline use of vector ops.
* Use vector.offset instead of vector.add.
* Define and use local alias for vector.offset.
2022-04-02 03:32:56 +02:00
kabou
541a805a48 Logix fix and some simple optimizations.
* Fix silly and mostly inconsequential logic bug that had gone unnoticed up
  till now.
* Condense a single use variable away by using a slightly more elaborate
  assignment statement.
* Add a few more local aliases for global minetest.* functions.
2022-04-02 03:32:56 +02:00
kabou
cd12e1d78c Various little fixes.
* Remove trailing whitespace.
* Remove `use_texture_alpha` setting from node definitions, the default
  value is already the correct one.
2022-04-02 03:32:56 +02:00
kabou
4335d0d659 Use compostability group from node definitions.
* Replace use of local table with compostability values with a call to
 `minetest.get_item_group()`.
* Define local alias for `minetest.get_item_group`.
* Remove the now unused static compostabilty values table.
2022-04-02 03:32:56 +02:00
kabou
de16eb3c5a Add compostability to node definition group.
* mcl_cake/init.lua (cake);
* mcl_core/craftitems.lua (apple);
* mcl_core/nodes_base.lua (dirt with grass);
* mcl_core/nodes_cactuscane.lua (cactus, sugarcane);
* mcl_core/nodes_climb.lua (vines);
* mcl_core/nodes_trees.lua (leaves, saplings);
* mcl_dye/init.lua (cocoa beans);
* mcl_farming/beetroot.lua (beetroot, & seeds);
* mcl_farming/carrots.lua (carrot);
* mcl_farming/melon.lua (melon, & slice, & seeds);
* mcl_farming/potatoes.lua (potato, baked potato);
* mcl_farming/pumpkin.lua (pumpkin, carved &, & seeds, & pie);
* mcl_farming/wheat.lua (wheat, cookie, bread, hay block);
* mcl_flowers/init.lua (flowers, ferns, grass, & tall variants);
* mcl_mushrooms/small.lua (red and brown mushrooms);
* mcl_mushrooms/huge.lua (red and brown huge mushrooms);
* mcl_nether/init.lua (nether wart block);
* mcl_nether/nether_wart.lua (nether wart);
* mcl_ocean/kelp.lua (kelp, dried &, & block);
* mcl_ocean/sea_pickle.lua (sea pickle);
* mcl_ocean/seagrass.lua (seagrass).
2022-04-02 03:32:56 +02:00
NO11
5974b6f609 Merge branch 'master' into shields2 2022-03-28 12:27:57 +00:00
NO411
148be4ea39 Fix shield behavior 2022-03-27 19:52:36 +02:00
NO411
6afe7cfb58 Fix typo and interact bug? 2022-03-27 18:08:43 +02:00
AFCMS
909b77ce4d
barrel protection fix + log 2022-03-25 13:28:33 +01:00
NO11
63a156c30c Fix typo/crash 2022-03-23 18:30:34 +00:00
NO411
019dd45381 Check for damager 2022-03-19 16:50:19 +01:00
NO411
d481f7b720 Fix showing shield hud at the wrong side for half a second 2022-03-19 15:59:59 +01:00
NO411
c94964d10a Remove debug line 2022-03-19 15:26:41 +01:00
kabou
ae6bea73fd Make carpets supported_node.
* Change carpet from `group:attached_node` to `group:supported_node`,
  allowing carpets to be placed on top of torches, water source blocks
  and other non-walkable nodes, like in MC.
2022-03-19 02:32:46 +01:00
NO411
6158e4e50d Don't always update shield texture using set_properties 2022-03-18 23:23:01 +01:00
NO411
7c0a48bebf Remove some code ... 2022-03-18 23:08:50 +01:00
NO411
5bdf83cbfc Revert weird changes 2022-03-18 23:07:25 +01:00
NO411
976cfba53a Make it possible to xraft a banner on an enchanted shield 2022-03-18 23:02:51 +01:00
NO411
fc9e83c059 Make it possible to craft a banner on an enchanted shield 2022-03-18 23:02:25 +01:00
NO411
60d877b718 Fix enchanting shield on enchanting table possible 2022-03-18 22:45:12 +01:00
NO411
db68c0e26b Add shield 2022-03-15 15:58:27 +01:00
epCode
4483f4b6b6 fix #2068 2022-03-15 02:18:02 +00:00
AFCMS
47b1eeda74
fix frost walker enchant not protecting from magma block damage 2022-03-13 19:11:28 +01:00
kabou
17b8eab368 Make carpets walkable.
* Make carpets walkable.  When a carpet is placed on top of a fence or a
  wall, the carpet can be jumped upon, allowing to in effect jump over
  fences and walls.
2022-03-12 13:35:12 +00:00
MysticTempest
de3cdee09e Make composters & barrels fuel for furnaces with the same burntime as chests. 2022-03-10 00:47:54 -06:00
Nils Dagsson Moskopp
77f8ecd6e8 Make daylight detector work in Minetest 5.3.0
This patch contains a function that searches for a path to a node with
light level 15, which is guaranteed to be sunlight.
2022-03-09 22:33:08 +00:00
Nils Dagsson Moskopp
4da5084daf Make daylight detector ignore artificial light
The daylight detector code used get_node_light(), which detects both
natural and artificial light. This patch improves the code to use
get_natural_light(), which was introduced with Minetest 5.4.0.
2022-03-09 22:33:08 +00:00
kabou
3f4dafc68f Add check for unknown nodes.
* Check if node has a definition table before attempting to evaluate its
  attributes.
* Define local variable to cache multiple accesses to `registered_nodes[]`
  and improve readability.
2022-03-09 14:14:45 +01:00
MysticTempest
7a53ea8b70 Rename a few textures to help support texture packs. 2022-03-02 20:13:24 -06:00
Elias Åström
3c10f0e970 Rewrite portal removal to avoid stack overflow
This solves a problem were nether portal removal would trigger deep
recursion through node callbacks.  For large portals this could result
in stack overflow crashes on LuaJIT.  The issue is solved by rewriting
the portal removal to avoid recursion and removing the portal in one
operation using minetest.bulk_set_node.
2022-03-03 01:42:49 +00:00
AFCMS
5a7b1cc382
make all arrow types activate target (+ depends and code fixes) 2022-02-26 23:52:03 +01:00
AFCMS
210a0d8ee1
make lingering potions activate target (+ indentation fix) 2022-02-26 22:44:50 +01:00
AFCMS
eae8effd57
make splash potions activate target 2022-02-26 22:42:27 +01:00
AFCMS
d89687984b
make ender pearls activate target 2022-02-26 22:16:10 +01:00
AFCMS
c6f72c473f
make eggs activate target 2022-02-26 22:12:26 +01:00
AFCMS
540b72f1d6
add target help text 2022-02-26 19:12:02 +01:00
AFCMS
7449725a56
add target crafting receipe 2022-02-26 19:12:01 +01:00
AFCMS
9e7a525a0a
make snowballs activate target 2022-02-26 19:12:01 +01:00
AFCMS
4bd91750bc
add target with API 2022-02-26 19:12:01 +01:00
cora
414e2e7725 fix crash on opening villager formspec 2022-02-25 00:40:26 +00:00
cora
86ca401e4e do not randomseed twice 2022-02-25 00:08:26 +00:00
cora
378b5b30c9 fix beds dropping when burning up 2022-02-25 00:08:26 +00:00
cora
840b705a22 make fire use abms instead of laggy node timers 2022-02-25 00:08:26 +00:00
Nils Dagsson Moskopp
27842aa2f5 Fix handheld maps not displaying in Minetest 5.5.0
The function dynamic_add_media() was changed in incompatible ways in
several minor versions of Minetest, breaking the display of handheld
maps in Minetest 5.5.0. This patch makes handheld maps display there.

The function was blocking with one argument in Minetest 5.3. It was also
blocking in Minetest 5.4, but took an additional argument for a function
to execute once the media had been received. Calling dynamic_add_media()
with a single argument had been deprecated; a function that did nothing
was provided in mcl_maps to satisfy the changed argument requirements.

In Minetest 5.5, dynamic_add_media() was changed to non-blocking. This
introduced a race condition in mcl_maps, where a client often tried to
display a map before it had received the map texture from the server.

Opening an issue on the Minetest issue tracker led to it being closed in
about 20 minutes: <https://github.com/minetest/minetest/issues/11997>
2022-02-24 22:43:45 +00:00
Nils Dagsson Moskopp
41550da87b Fix redstone comparator flooding crash
Redstone comparators have two modes, comparison mode & subtraction mode.
Before this patch, the functions to turn comparators on or off attempted
to swap nodes with comparators in the same mode, but failed to determine
the correct replacement node, if the existing node was not a comparator.

When a comparator in an on state (e.g. powered by a filled cauldron) was
flooded, the flooding dropped the comparator and replaced the comparator
node that was to be swapped out with air, which lead to a server crash.

This patch changes the functions that turn comparators on or off so they
only swap existing nodes with comparators in the same mode if the name
of the replacement node can be determined – i.e. if it is not nil.
2022-02-24 15:52:01 +01:00
AFCMS
cbfc71705d
remove blender backup file 2022-02-24 10:16:47 +01:00
kabou
5431e206b0 Fix hopper breakage in get_item_group return value.
In commit 55009c257e that added vectors to
mcl_composters, mcl_hoppers was accidentally patched with a unrelated
change, updating it to get_item_group().  This mostly works, but in one
particular case the semantics of the return value differs.  Instead of
returning 'nil' it returns '0'.  That altered the evaluation of an if
condition, breaking the abm that sucks in items.

This commit fixes the conditional by explicitly comparing  '~= 0'.
2022-02-24 03:18:25 +01:00
Emojigit
06deb92dd6 mcl_tools 2022-02-23 23:58:05 +01:00
Emojigit
7685b4758f mcl_flowers 2022-02-23 23:58:05 +01:00
Emojigit
9944abb328 mcl_books 2022-02-23 23:58:05 +01:00
Emojigit
5ce1852c1d mcl_dye 2022-02-23 23:58:05 +01:00
Emojigit
56a70025b8 mcl_flowerpots 2022-02-23 23:58:05 +01:00
Emojigit
9fe3bbd2fa mcl_mushrooms 2022-02-23 23:58:05 +01:00
Emojigit
fb1d189d40 mcl_doors 2022-02-23 23:58:05 +01:00
Emojigit
a64c3f87bc xpanes 2022-02-23 23:58:05 +01:00
Emojigit
5075f2ca56 mcl_armor 2022-02-23 23:58:05 +01:00
Emojigit
2b5a0242db mcl_fire 2022-02-23 23:58:05 +01:00
Emojigit
790ccf0812 mcl_fishing 2022-02-23 23:58:05 +01:00
Emojigit
8d639794f3 mcl_fences 2022-02-23 23:58:05 +01:00
Emojigit
af8681c143 mcl_buckets 2022-02-23 23:58:05 +01:00
Emojigit
1ef58f7250 mcl_walls 2022-02-23 23:58:05 +01:00
Emojigit
15747220f2 mcl_hoppers 2022-02-23 23:58:05 +01:00
Emojigit
925dad7f5e mcl_anvils 2022-02-23 23:58:05 +01:00
Emojigit
729f653c85 mcl_portals 2022-02-23 23:58:05 +01:00
Emojigit
d1e328e57a mcl_bows 2022-02-23 23:58:05 +01:00
Emojigit
7e5a9bd8b6 mcl_throwing 2022-02-23 23:58:05 +01:00
Emojigit
d018bee00a mcl_cake 2022-02-23 23:58:05 +01:00
Emojigit
1365d0b257 mcl_jukebox 2022-02-23 23:58:05 +01:00
Emojigit
a289a00427 mcl_heads 2022-02-23 23:58:05 +01:00
Emojigit
a238aabbb0 mcl_cauldrons 2022-02-23 23:58:05 +01:00
Emojigit
4deac632e6 mcl_sponges 2022-02-23 23:58:05 +01:00
Emojigit
c480e6891d mcl_maps 2022-02-23 23:58:05 +01:00
Emojigit
844eb3fb7c mcl_brewing 2022-02-23 23:58:05 +01:00
Emojigit
fc768cb1ad mcl_signs 2022-02-23 23:58:05 +01:00
Emojigit
1f9a919459 mcl_monster_eggs 2022-02-23 23:58:05 +01:00
Emojigit
70007e3453 mcl_furnaces 2022-02-23 23:58:05 +01:00
Emojigit
c86a506672 mcl_tnt 2022-02-23 23:58:05 +01:00
Emojigit
f348223da2 mcl_crafting_table 2022-02-23 23:58:05 +01:00
Emojigit
77339afbe2 mcl_cocoas 2022-02-23 23:58:05 +01:00
Emojigit
a685c3bc83 mclx_core 2022-02-23 23:58:05 +01:00
Emojigit
952747d4da mcl_mobspawners 2022-02-23 23:58:05 +01:00
Emojigit
430f5b05ab mcl_itemframes 2022-02-23 23:58:05 +01:00
Emojigit
e4a311e28a mcl_clock 2022-02-23 23:58:05 +01:00
Emojigit
6a115a68ef mcl_armor_stand 2022-02-23 23:58:05 +01:00
Emojigit
a6c3cab791 mclx_fences 2022-02-23 23:58:05 +01:00
Emojigit
bb4ddee570 mcl_compass 2022-02-23 23:58:05 +01:00
Emojigit
dba08ddc1f mcl_torches 2022-02-23 23:58:05 +01:00
Emojigit
f02f3c9f40 screwdriver 2022-02-23 23:58:05 +01:00
Emojigit
ad42c3588b mcl_farming 2022-02-23 23:58:05 +01:00
Emojigit
9734c74c56 (WIP) mcl_farming 2022-02-23 23:58:05 +01:00
Emojigit
4f00b62a18 add zh_TW translate to mcl_beds and mcl_core 2022-02-23 23:58:04 +01:00
AFCMS
360a1604ba
Revert "move barrels to mcl_chests"
This reverts commit a272322cb5.
2022-02-22 20:20:21 +01:00
AFCMS
a272322cb5
move barrels to mcl_chests 2022-02-22 18:08:25 +01:00
AFCMS
9112915ddd
fix barrel top texture rotation 2022-02-22 18:08:25 +01:00
AFCMS
397c243e89
cleanup barrel TODO list 2022-02-22 18:08:25 +01:00
AFCMS
61e54ed617
rename mcl_util.drop_items_container_get to drop_items_from_meta_container 2022-02-22 18:08:24 +01:00
AFCMS
0988637ea1
add barrel tooltip help text 2022-02-22 18:08:24 +01:00
AFCMS
b88060dbfb
add doc description to barrels 2022-02-22 18:08:23 +01:00
AFCMS
e3e06b4a4b
fix broken tree placement 2022-02-22 18:08:23 +01:00
AFCMS
34b445b04a
fixes 2022-02-22 18:08:22 +01:00
AFCMS
d41a836514
add craft 2022-02-22 18:08:22 +01:00
AFCMS
80fb59f9ac
add barrel 2022-02-22 18:08:22 +01:00
kabou
af132cc523 Reinstate nil check in on_place_bucket.
* Oops, nil checks on registered_node[name] were erroneously optimized
  away, risking crashes.  Reinstate those checks.
2022-02-21 18:00:56 +01:00
kabou
e54502edd6 Add more local aliases for minetest.* namespace functions
* Add locals for
  - minetest.is_creative_enabled
  - minetest.is_protected
  - minetest.record_protection_violation
2022-02-20 20:24:55 +01:00
kabou
639bf936c5 Use alias for minetest.* namespace function call.
* Fix one missed minetest.get_node use in earlier commit.
2022-02-20 19:52:05 +01:00
kabou
d2261426c3 Remove redundant variables in on_place_bucket.
The function on_place_bucket defined a couple of variables that were
used only once or in a redundant check.  After removal of the redundant
check in a previous commit, all use-once variables can now be substituted
with their assignment expressions.
2022-02-20 18:46:23 +01:00
kabou
88ce1e3662 Remove redundant logic.
The function on_place_bucket contains the following logic:
  if not a and not b then return x end
  if a then
    foo(a)
  elseif b then
    foo(b)
  else
    return x
  end

The "if not a and not b then .." is removed because the case is handled
by the else case later on.  This will allow some further simplifications.
2022-02-20 18:46:23 +01:00
kabou
b3aed9d6b8 Use proper get_item_group accessor.
Instead of directly accessing the group table in node definitions, use
the proper minetest.get_item_group accessor to test for "cauldron"
group.
Also adds local alias get_item_group for the global minetest call.
2022-02-20 18:46:23 +01:00
kabou
13baa68b67 Fixed missed alias uses and added set_node alias.
Two instances of add_node and add_item still used the full minetest
call, substitute the alias.
Added a set_node alias for several minetest.set_node calls.
2022-02-20 18:46:23 +01:00
kabou
315f251584 Add local to speedup global function access.
The minetest.registered_nodes function is called from multiple places.
Define a local alias registered_nodes and substitute it in all calls.
2022-02-20 18:46:23 +01:00
kabou
584a75df76 Fix filling cauldrons with water.
When using a bucket of water on a cauldron, this would not fill the
cauldron as expected, but deposit a water source block on top of the
cauldron instead.

Applied patch from mineclone5 #38 (commit #
698c29733f06a7fcb7e755bf26ee46b33b00699b) from mineclone5 that fixes
this problem.
2022-02-20 18:46:23 +01:00
kabou
8d18ab8a7a Optimize texture files.
* Texture files were optimized with 'optipng  -o7 -zm9 -strip all' .
2022-02-19 21:18:01 +01:00
kabou
f81980da51 Fix hardness and blast resistance.
* Use correct MC values for hardness and blast resistance.
2022-02-19 21:18:01 +01:00
kabou
55009c257e Use new vectors
* Use vector.new instead of xyz table.
2022-02-19 21:18:01 +01:00
kabou
51ca60c097 Change custom node attribute name.
* Rename _compost_level to _mcl_compost_level
2022-02-19 21:18:01 +01:00
kabou
f22baafaa6 Add player object check.
* Add one more check if player object is an actual player.
2022-02-19 21:18:01 +01:00
kabou
ffc2c94096 Add help alias
* Add help alias for the ready type composter
2022-02-19 21:18:01 +01:00
kabou
cea821b2fa Comment fixes.
* Improve comments, some typo fixes.
2022-02-19 21:18:01 +01:00
kabou
64608f50f8 Update mod description and fix comment.
* Make mod description more descriptive.
* Minor comment tweak.
2022-02-19 21:18:01 +01:00
kabou
3257014e00 Add missing melon block.
* Add melon block to the compostabiles list.
2022-02-19 21:18:01 +01:00
kabou
06274518bf Add player object check.
* Handle the case where a mob somehow "clicks" on a composter and we get
  an invalid player object passed.
2022-02-19 21:18:01 +01:00
kabou
8d79d16531 Update mod deps.
* Add dpendency on mcl_dye for the bone meal particle spawner
2022-02-19 21:18:01 +01:00
kabou
1f7697b6f5 Typo fix.
* it's a spruceSapling (thanks NO11)
2022-02-19 21:18:01 +01:00
kabou
64203c38a6 Update documentation.
* Make a mention of the one second delay before composter readies.
2022-02-19 21:18:01 +01:00
kabou
4cf88abe4c Fix composter item image.
* Less is more (thanks AFCMS)
2022-02-19 21:18:01 +01:00
kabou
df8576e77c mcl_composters initial commit
Implements a composter block with crafting recipe, and some more
uncraftable blocks representing various stages of filling.

Adds a list of items that can be used with the composter and the chances
of these items adding a layer to the composter.

Implements methods to add compostable items to the composter, to update
the composter to various levels of compost and to harvest an item of
bone meal when the composter is ready.

Textures were taken from XSSheep/Nova_Wostra Pixel Perfection texture
pack.
2022-02-19 21:18:01 +01:00
NO11
c40c05f594 Exact MC behavior 2022-02-17 15:32:58 +00:00
NO11
d46a96c43a Merge branch 'master' into buckets+ 2022-02-17 14:48:07 +00:00
NO11
3cfcd1355f Add missing dependency 2022-02-17 14:42:01 +00:00
NO11
4707cd4526 Correct bucket behavior 2022-02-17 14:36:48 +00:00
AFCMS
c59bea211d
fix some typos 2022-02-13 21:31:03 +01:00
AFCMS
5aa18d573e
document mcl_armor function (WIP) 2022-02-13 21:31:03 +01:00
AFCMS
13f8fd457c
document manual armor creation 2022-02-13 21:31:03 +01:00
AFCMS
2b820d7756
mcl_armor.register_set() documentation 2022-02-13 21:31:02 +01:00
Elias Åström
4ca89cfcae Update groupcaps_hash function to minetest.sha1 2022-02-12 20:08:03 +01:00
Elias Åström
a6c5c8a72a Call update_groupcaps from load_enchantments
This avoids the need to call the function from on_enchant for unbreaking
and efficiency.
2022-02-12 19:43:01 +01:00
Elias Åström
d898b02c8b Fix #1922 2022-02-12 19:43:01 +01:00
AFCMS
2690094a95 allow placement of lanterns on chains 2022-02-10 11:45:08 +01:00
AFCMS
23873f31f1 add french translation of mcl_lanterns 2022-02-09 22:19:24 +01:00
AFCMS
749d4f1a4b add lanterns translation template 2022-02-09 22:15:44 +01:00
AFCMS
8817d51d64 minecraft like lanterns placement limitations 2022-02-09 22:11:50 +01:00
AFCMS
9b375aa9e8 attemp to fix lanterns placement 2022-02-09 18:19:46 +01:00
AFCMS
7fbdd71081 obtimize glass detail images 2022-02-09 12:21:28 +01:00
AFCMS
9cc088c940 fix lantern light value to fit minetest limit 2022-02-08 23:00:45 +01:00
AFCMS
6572a8c908 add lanterns, crafts, placement mechanism, doc entries 2022-02-08 22:56:20 +01:00
AFCMS
ffa9d2d0fd add basic chains and lantern model and API 2022-02-08 10:58:25 +01:00
NO11
627c37cd97 Fix pumpkin hud 2022-01-02 12:37:20 +00:00
NO11
7cc7fb1331 Make removing of arrow entities also work with mobs, remove arrows on respawn 2022-01-02 11:06:29 +00:00
NO11
7b46225176 Remove arrow entities when the player joins to prevent killing on startup (working fix) 2022-01-01 22:59:21 +00:00
NO411
7b47a15e34 Remove arrow entities when the player leaves to prevent killing on startup 2021-12-30 14:04:53 +01:00
AFCMS
a7e471de62 framed stained glass 2021-12-23 18:02:43 +01:00
AFCMS
12830781f8 Merge branch 'master' into connected_glass 2021-12-23 17:29:53 +01:00
Elias Fleckenstein
e2360204a7
Revert "fixed daylightsensor's register_abms"
This reverts commit 5a4abcbcb7.
2021-12-12 15:55:52 +01:00
chmodsayshello
5a4abcbcb7 fixed daylightsensor's register_abms
By changing the check if a normal/inverted daylightsensor should update by turning on and off, I made them workling again
2021-12-10 13:59:31 +00:00
kay27
0c8e5dc7a4 Disable Nether portal node rotation by screwdriver 2021-12-10 03:52:14 +04:00
Elias Fleckenstein
e4feb233e0
Fix hopper dupe 2021-12-09 18:20:24 +01:00
Elias Fleckenstein
ec7e245b9d
Various fixes to the enchanting and loot system
- enchanted loot generated by mapgen now uses PseudoRandom for randomness
- prevent fishing loot from generating loot 32767 times (!!!) when only 1 is needed
- bows and fishing rods obtained from the treasure section of fishing loot are now enchanted
- there is now a function to uniform enchant items other than books
2021-12-07 17:57:18 +01:00
Elias Fleckenstein
b3958a956d
Refactor random enchantment selection code 2021-12-07 16:16:07 +01:00
Elias Fleckenstein
882db9f873
Remove unused and completely unlogical enchantment_level paramenter from get_possible_enchantments 2021-12-07 15:49:12 +01:00
Elias Fleckenstein
261faafb7c
Fix get_possible_enchantments to not return incompatible enchantments, even if treasure enchantments are allowed 2021-12-07 15:47:23 +01:00
Elias Fleckenstein
e6b200aaf3
Fix access to ender inventory without an ender chest 2021-12-02 16:19:59 +01:00
Elias Fleckenstein
d3015edeb9
Fix reference dupes for droppers and dispensers 2021-11-29 19:12:49 +01:00
Glaucos Ginez
9edf277905 Fix mobs spawn count 2021-11-21 22:13:24 -03:00
Elias Fleckenstein
b0aceae73d
Fix reference dupe glitches 2021-11-19 15:22:40 +01:00
Elias Fleckenstein
6ca5799565
Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-11-17 18:25:19 +01:00
Elias Fleckenstein
30528b0a2c
Fix crash when opening a chest with an unknown node on top 2021-11-17 18:25:12 +01:00
NO11
642b9db035 localize wielditem in crossbow.lua (Fix #1901) 2021-11-13 15:19:34 +00:00
NO11
490e40d042 Bone meal particles: add some velocity, correct glow 2021-11-12 15:41:09 +00:00
NO11
9e4e7f0695 Merge branch 'master' into bone_meal 2021-11-12 15:02:13 +00:00
NO11
2a08f31435 Use particlespawners for better performance (sponge particles) 2021-11-12 14:09:59 +00:00
NO11
8979230c42 Several fixes for applying bone meal to grass 2021-11-10 17:15:27 +00:00
Elias Fleckenstein
a7bc460fae
Fix boat and enchanting book texture glitches / warnings 2021-11-09 17:39:39 +01:00
NO11
30ce6f8a77 Fix typo min -> max 2021-11-08 13:16:20 +00:00
NO11
5b52deaa8a Merge branch 'master' into bone_meal 2021-11-06 13:38:20 +00:00
NO11
7bbc1e9951 Add API.md for bone meal API 2021-11-06 13:34:22 +00:00
Elias Fleckenstein
0dd780ee2a Merge pull request 'Implement grass palette conversion, Add sugar cane colorisation' (#1889) from EliasFleckenstein03/MineClone2:tint into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1889
2021-11-06 13:29:39 +00:00
NO11
1b259f928b Add simple bone meal API
- callback api
- particle api
2021-11-06 13:12:03 +00:00
Elias Fleckenstein
970988cb39
Add sugar cane colorisation 2021-11-03 19:58:50 +01:00
Elias Fleckenstein
34f329a9d5
TextureConverter: Implement grass palette conversion
Source: https://minecraft.fandom.com/wiki/Tint
Since the MineClone2 biomes do not entirely match with the Minecraft ones I picked the Minecraft biomes that seem to match them best.
This also changes the palette index of the nether to match the desert instead of the mesa biome
and changes the color of grass blocks in item form to the default minecraft one.
2021-11-03 19:57:21 +01:00
Elias Fleckenstein
a4e73886d5
Rework XP API 2021-11-03 19:36:57 +01:00
NO11
6025a3d7d4 Merge branch 'master' into totem_particles 2021-10-28 09:06:09 +00:00
NO11
19689dd857 Use enchanted golden apple for thing banner 2021-10-26 16:50:10 +00:00
NO11
b78e7b3e4d Merge branch 'master' into totem_particles 2021-10-26 14:48:07 +00:00
Elias Fleckenstein
30f7c638f3
mcl_enchanting: Add spanish translations and update template
Credit to: todoporlalibertad <todoporlalibertad@riseup.net>
Reviewed by j45
2021-10-25 22:55:48 +02:00
NO11
eccba76732 Use math.floor instead of math.round 2021-10-25 20:25:34 +00:00
NO11
6d22262c53 Merge branch 'master' into totem_particles 2021-10-25 17:09:24 +00:00
NO11
7489010152 Use particlespawners instead of single particles 2021-10-25 17:08:38 +00:00
NO11
dafe860e56 simple totem particles 2021-10-24 19:31:51 +00:00
epCode
1c458a2e72 Add crossbows 2021-10-15 12:00:37 -07:00
NO11
9ccf8de606 Fix crash on startup if mcl_playersSleepingPercentage is not defined (#1874) 2021-10-09 14:41:56 +00:00
NO11
19b5a5aac7 Merge pull request 'Add playersSleepingPercentage server setting (Fix #920)' (#1861) from NO11/MineClone2:beds into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1861
2021-10-07 15:14:03 +00:00
NO11
fe91d7f3e0 use mcl_util.replace_mob function to simplify dispenser code 2021-10-05 04:15:48 +00:00
AFCMS
e9437e9e1e fix crash then using function in _mcl_armor_[texture, preview] tool field 2021-09-29 21:06:51 +02:00
NO11
16c73c1cb6 Add forgotten = 2021-09-28 13:16:19 +00:00
NO11
03be736566 Dont skip night if no players are in bed 2021-09-27 20:13:12 +00:00
NO11
e83438e42c Update mcl_bed README.txt 2021-09-21 18:19:07 +00:00
NO11
df1d8077e6 Some fixes for mcl_beds
- remove enable_bed_night_skip setting (mcl_playersSleepingPercentage setting can be used to enable disable night skip)
- make it possible to change mcl_playersSleepingPercentage ingame
- fix weird bug which allowed only numbers <= 0
2021-09-21 18:07:36 +00:00
AFCMS
b0cf07a020 Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.ru.tr' 2021-09-20 07:59:00 +00:00
AFCMS
e36a8c5acf Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.pl.tr' 2021-09-20 07:58:25 +00:00
AFCMS
b2af00db22 Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.es.tr' 2021-09-20 07:57:04 +00:00
AFCMS
e8134345d4 Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.de.tr' 2021-09-20 07:56:25 +00:00
AFCMS
e0c7e938de Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.fr.tr' 2021-09-20 07:55:51 +00:00
ztianyang
ac8383dd4b Merge branch 'master' into emerald-desc 2021-09-20 01:54:00 +00:00
NO11
c22c2063ad Merge branch 'master' into beds 2021-09-12 12:53:01 +00:00
NO11
410b7c7844 Update german translation for mcl_beds 2021-09-12 12:52:26 +00:00
NO11
9f9799d96e Update template.txt in mcl_beds 2021-09-12 12:50:54 +00:00
NO11
cd84c472dc Add translation support. 2021-09-12 12:49:39 +00:00
NO11
89ff666a6a Add playersSleepingPercentage server setting (Fix #920) 2021-09-12 12:21:18 +00:00
NO11
1a5339e907 Only use the shears once in dispenser if there are more mobs in front of the dispenser 2021-09-08 14:22:53 +00:00
NO11
aa930dc2b8 Merge pull request 'Fix strange behaviour when filling end portal with bedrock inside (#1749)' (#1853) from NO11/MineClone2:end_portal into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1853
2021-09-07 18:04:05 +00:00
NO11
79463738f6 Merge pull request 'Make it possible to use shears in the dispenser for mobs (Fix #1233)' (#1854) from NO11/MineClone2:dispenser into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1854
2021-09-07 18:03:19 +00:00
NO11
f41cea71fd Make it possible to use shears in the dispenser for mobs (Fix #1233) 2021-09-06 13:30:08 +00:00
NO11
5fedd914fb Fix strange behaviour when filling end portal with bedrock inside (#1749) 2021-09-04 19:14:08 +00:00
NO11
872e3e74d3 Merge pull request 'Make cactus mechanisms more MC like (Fix #1741)' (#1851) from NO11/MineClone2:cactus into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1851
2021-09-03 16:20:14 +00:00
NO11
bf62eb33fa Change label of cactus abm 2021-09-03 14:06:21 +00:00
NO11
0da7b3fbda Make cactus mechanisms more MC like (Fix #1741) 2021-09-02 20:38:01 +00:00
NO11
ca086109bf support tables for _repair_material 2021-08-31 21:04:57 +00:00
NO11
2b322a451f remove space 2021-08-26 10:17:15 +00:00
NO11
f0af15fcd8 Make anvil selection/collision box more MC like 2021-08-26 10:14:57 +00:00
AFCMS
2d1a43396f Merge pull request 'Title HUD API' (#1778) from title-API into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1778
2021-08-20 12:31:54 +00:00
AFCMS
fe62189019 Update French translation (part 1) 2021-08-13 11:35:18 +02:00
NO11
cb55c36863 Correct the texture of anvils
Because of the new node_nox, the textures have to be a little bit bigger.
2021-08-11 15:44:43 +00:00
NO11
f8dcf05670 Add MC like nodebox for anvils 2021-08-11 15:41:45 +00:00
Elias Fleckenstein
efab5a1cf5 Merge pull request 'Fix warning in mcl_end' (#1834) from Emojigit/MineClone2:fork-20210710-fixwarn into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1834
2021-08-06 10:45:33 +00:00
NO11
4aabd7d9e7 Make size/position of potion HUD more MC like 2021-08-01 12:10:00 +00:00
Elias Fleckenstein
88f253bf66 Merge pull request 'raycast based buckets' (#1811) from buckets into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1811
2021-07-26 16:59:15 +00:00
AFCMS
667ef5cad5 cache doc modpath 2021-07-22 00:46:43 +02:00
AFCMS
fef23d0b6f fix missing depend to mcl_credits of mcl_portals 2021-07-22 00:39:05 +02:00
AFCMS
44063bca93 Merge branch 'master' into buckets 2021-07-21 18:21:27 +02:00
AFCMS
e58bb6d859 Merge branch 'master' into title-API 2021-07-21 18:21:16 +02:00
NO11
31d3ea8a87 Fix #1801 (add better texture for golden boots) 2021-07-20 20:09:43 +00:00
AFCMS
c31c852a6e add documentation 2021-07-20 16:14:34 +02:00
AFCMS
b5f7ae5458 working implementation + support of other mods 2021-07-20 15:47:26 +02:00
Tianyang Zhang
559cf85c94 Improve description of emerald 2021-07-19 09:12:39 -07:00
AFCMS
b364faa7c7 make bucket use 5 lenght raycast 2021-07-17 16:22:46 +02:00
Tianyang Zhang
60fcafeee4 Update description of emerald 2021-07-15 19:25:32 -07:00
SmallJoker
9d9e213012 Fix some implicit hard and soft-dependencies
These issues were found while testing minetest#8603 and are caused by relying on the undefined mod loading order
2021-07-16 06:18:54 +04:00
AFCMS
49bde37a5e rewrite README to markdown 2021-07-15 01:03:50 +02:00
AFCMS
dc17cc91a3 make raycast start from player head 2021-07-15 00:01:56 +02:00
AFCMS
873a1e73dc fix documentation 2021-07-14 15:22:27 +02:00
AFCMS
8fff20eec9 fix misleading API 2021-07-14 15:18:12 +02:00
AFCMS
ec6086d8e6 cleanup 2021-07-14 15:14:23 +02:00
AFCMS
6d7aafe0d4 Revert "more mt like API (improved readability)"
This reverts commit 88e59d3592.
2021-07-14 15:13:40 +02:00
AFCMS
91adfcbb1d Merge branch 'master' into buckets 2021-07-14 15:13:20 +02:00
AFCMS
8958aa7b12 Merge branch 'master' into buckets 2021-07-14 15:12:53 +02:00
AFCMS
cf5703d528 fix luacheck warnings 2021-07-14 11:53:37 +02:00
AFCMS
88e59d3592 more mt like API (improved readability) 2021-07-14 11:52:27 +02:00
AFCMS
cd08df175c add better documentation 2021-07-14 11:41:09 +02:00
AFCMS
ca277b6769 mcl_bucket code refactoring + fix extra_check noot working 2021-07-14 11:29:15 +02:00
AFCMS
b0127fc1c3 fix bucket dispense function 2021-07-14 09:18:15 +02:00
AFCMS
d26b1b1402 use mcl_util.call_on_rightclick insteed of current implementation 2021-07-14 09:10:01 +02:00
NO11
549bdeb6e9 Remove object:is_player 2021-07-12 21:41:57 +00:00
NO11
ecfb615c89 Merge branch 'master' into totem_particles 2021-07-12 19:02:02 +00:00
epCode
960b653979 fix #1299 2021-07-12 11:50:37 -07:00
NO11
5ceb48fcb1 Faster rgb to hex 2021-07-12 18:05:52 +00:00
Emojigit
d2f7d31360
Fix warning in mcl_end
This fixes:
```
2021-07-10 10:00:58: WARNING[Main]: get_mapgen_params is deprecated; use get_mapgen_setting instead (at .../../games/MineClone2/mods/ITEMS/mcl_end/chorus_plant.lua:456)
```
2021-07-10 10:16:55 +08:00
NO11
509568b4b0 Use real Minecraft colors for totem particles! 2021-07-08 16:49:19 +00:00
Elias Fleckenstein
fb01e61946 Fix server crash when dispensing an unknown item
This works similar to 2aafb2f2d01a6ece9ed4642a7081c53dbf22f773, however it is a cleaner way to do it.
2021-07-08 15:31:27 +02:00
Elias Fleckenstein
8f584be235 Fix #1814 - Don't open crafting table formspec if player is sneaking 2021-07-08 15:03:06 +02:00
NO11
1471521709 Merge branch 'master' into totem_particles 2021-07-07 09:49:33 +00:00
erlehmann
2f22ce79cc Merge pull request 'ITEMS/mcl_banners: Allow more layers for banners with gradients' (#74) from e/Mineclonia:banner-gradient-limits into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/74
Reviewed-by: Elias Åström <ryvnf@riseup.net>
Reviewed-by: erlehmann <nils+git.minetest.land@dieweltistgarnichtso.net>
2021-07-06 11:20:42 +02:00
erlehmann
ae2c5ede30 Merge pull request 'Remove wrong preview banner crafting recipes' (#55) from banner-crafting-fix into master
Reviewed-on: https://git.minetest.land/Mineclonia/Mineclonia/pulls/55
Reviewed-by: E <e@noreply.git.minetest.land>
2021-07-06 11:20:16 +02:00
Nils Dagsson Moskopp
0a474ee578 Reduce snow layer silk touch drop amount
It was possible to duplicate snow layers by placing them and then mining
them using a tool enchanted with silk touch. This commit fixes the “snow
dupe” by reducing the amount of snow layers dropped in this case by one.
2021-07-05 11:47:14 +02:00
AFCMS
16d79c38ce fix typo in mcl_enchanting french translation 2021-06-26 23:48:59 +02:00
AFCMS
61b0220951 apply erlehmann fix for music discs not playing (better code) 2021-06-19 22:36:37 +02:00
AFCMS
6bef350be4 baisc glass support 2021-06-19 00:58:05 +02:00
AFCMS
a9ae6aa9c8 attemp to fix old music discs not playing 2021-06-19 00:39:48 +02:00
NO11
cf3a2a42bf Fix typos and add template for specific help text for stripped wood 2021-06-18 19:35:59 +00:00
NO11
ff8176e252 Fix typos and add german translation for specific help text for stripped wood 2021-06-18 19:35:54 +00:00
NO11
a62d3ff2ee Add specific help text and fix typos for stripped wood 2021-06-18 19:30:20 +00:00
NO11
2361c1c797 Merge branch 'master' into end_portal_frame 2021-06-16 21:01:19 +00:00
NO11
3b3922b2d6 Unify code style 2021-06-15 17:37:03 +00:00
NO11
4987636913 Remove misspellings part2 2021-06-15 17:34:45 +00:00
NO11
c542ff998e Remove misspellings part1 2021-06-15 17:33:04 +00:00
NO11
f28a5b90fc Fix #1804 (remove portal frame with ender eye from creative inventory) 2021-06-15 14:33:40 +00:00
AFCMS
7a130ff2b9 Merge pull request 'Fix French translations: granit + porc' (#1815) from pitchum/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1815
2021-06-14 17:51:29 +00:00
pitchum
73927cb0cb Fix French translations: granit + porc 2021-06-14 18:51:08 +02:00
AFCMS
2624343c30 Merge branch 'master' into buckets 2021-06-14 14:36:41 +02:00
AFCMS
30e2e0d70a test values 2021-06-14 14:36:17 +02:00
Elias Fleckenstein
64d3a28578 Merge pull request 'Fix #1795 (Don't remove Pumpkin HUD when it is removed on death if keepinventory is enabled)' (#1796) from pumpkin_hud into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1796
2021-06-14 11:44:21 +00:00
AFCMS
40f4287ff2 new buckets fixes 2021-06-12 12:21:01 +02:00
AFCMS
f70dbb8cfa Merge branch 'master' into buckets 2021-06-12 10:12:51 +02:00
AFCMS
e11dc4b58e fix some luacheck warnings 2021-06-12 00:28:07 +02:00
AFCMS
e81da3c4ff fix some mods using "core" insteed of "minetest" 2021-06-12 00:18:52 +02:00
AFCMS
a896d7f5e4 replace deprecated "current_name" by "context" for inventory location 2021-06-12 00:09:39 +02:00
NO11
3577585d74 Use get_bool 2021-06-10 15:34:57 +00:00
NO11
c350b5158b Fix #1795 (Don't remove Pumpkin HUD when it is removed on death if keepinventory is enabled) 2021-06-09 18:31:21 +00:00
NO11
ee2fa60cae local totem particle position 2021-06-09 14:47:42 +00:00
NO11
0795862c5c Merge branch 'master' into totem_particles 2021-06-08 19:00:43 +00:00
NO11
99ccd9ea4c Fix possible crash 2021-06-08 15:13:00 +00:00
Elias Fleckenstein
4324e97db0 Merge pull request 'Pumpkin hud' (#1754) from pumpkin_hud into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1754
2021-06-08 11:06:22 +00:00
NO11
1e0ffed26b Merge branch 'master' into totem_particles 2021-06-07 17:16:41 +00:00
NO11
ee21a24fb6 Don't register a separate entity for every particle 2021-06-07 17:13:50 +00:00
NO11
28bfb3f141 Better arrow overlay texture 2021-06-05 13:19:47 +00:00
NO11
f3322fd7cb Fix #1779 (potion arrows are invisible) 2021-06-05 13:17:03 +00:00
Elias Fleckenstein
e5bdf230d5 Merge pull request 'Add polish translation' (#1542) from marcin-serwin/MineClone2:polish-translation into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1542
2021-06-04 16:51:43 +00:00
NO11
92c25ef691 Add code for bonemeal particles 2021-06-03 18:13:13 +00:00
Marcin Serwin
522553fcd0 Add polish translation of mcl_fireworks 2021-06-02 13:33:10 +02:00
Marcin Serwin
753a8ce488 Update polish translation of mcl_core 2021-06-02 13:32:15 +02:00
Marcin Serwin
f9dbfd8eb5 Update polish translation of mcl_maps 2021-06-02 13:26:41 +02:00
Marcin Serwin
0132d0569f Update polish translation of several files 2021-06-02 13:21:19 +02:00
marcin-serwin
cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
Marcin Serwin
6715aecd63 Add polish translation of mcl_comparators 2021-06-02 12:13:16 +02:00
Marcin Serwin
b06bc276dc Add polish translation of mesecons_commandblock 2021-06-02 11:34:32 +02:00
Marcin Serwin
06984fa486 Add polish translation of mesecons_pistons 2021-06-02 09:45:16 +02:00
Marcin Serwin
4bd49f7eb0 Add polish translation of mcl_observers 2021-06-02 09:40:08 +02:00
Marcin Serwin
a4fc38ffcc Add polish translation of mcl_armor_stand 2021-06-02 09:32:27 +02:00
Marcin Serwin
7804de4230 Add polish translation of mcl_tools 2021-06-01 15:45:45 +02:00
Marcin Serwin
22bda9c770 Add polish translation of mcl_fences 2021-06-01 15:33:34 +02:00
Marcin Serwin
21bdf914bf Add polish translation of mcl_flowerpots 2021-06-01 15:28:09 +02:00
NO11
75e263debc Add code for totem partciles 2021-05-29 19:24:16 +00:00
AFCMS
95627f4304 Revert "[mcl_fishing] fix warnings"
This reverts commit a1acf6d3c1.
2021-05-29 16:15:30 +02:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
NO11
ec542a142a Improve pumkin hud a bit 2021-05-29 08:56:11 +00:00
Marcin Serwin
8ad953ab17 Add polish translation of mcl_nether 2021-05-28 18:25:16 +02:00
AFCMS
5f82e76862 fix many codestyle issues 2021-05-28 00:34:58 +02:00
AFCMS
f1c6c3b285 [mcl_chests] fix warnings 2021-05-27 09:41:20 +02:00
AFCMS
f8ee9c79c2 fix crash :-( 2021-05-27 09:34:58 +02:00
AFCMS
00063cde73 speedup mcl_observer 2021-05-27 09:34:12 +02:00
AFCMS
0119793d7a Merge branch 'master' into buckets 2021-05-27 09:10:35 +02:00
Elias Fleckenstein
772f48ed58 Fix crash / luacheck warning caused by armor with thorns level > 10 2021-05-26 20:51:39 +02:00
NO11
656891ec61 [mcl_core] fix function codestyle in nodes_trees.lua 2021-05-26 18:02:28 +00:00
NO11
90bab9026b [mcl_core] fix function codestyle in nodes_liquid.lua 2021-05-26 17:57:43 +00:00
NO11
5b43303873 [mcl_core] fix function codestyle in nodes_climb.lua 2021-05-26 17:54:58 +00:00
NO11
211b078d3a [mcl_core] fix function codestyle in nodes_base.lua 2021-05-26 17:51:24 +00:00
NO11
bb77443892 [mcl_core] fix function codestyle in functions.lua 2021-05-26 17:43:42 +00:00
NO11
6105a9ef22 Fix function code style in mcl:core/crafting.lua 2021-05-25 20:00:06 +00:00
AFCMS
9e074af07f unify code style [1] 2021-05-25 12:52:25 +02:00
NO11
0ea72ed1f1 Merge branch 'master' into pumpkin_hud 2021-05-25 09:05:31 +00:00
NO11
47b6a8d7f8 Remove unused variable 2021-05-25 09:03:06 +00:00
AFCMS
388ab6d8df fix some codestyle issues 2021-05-25 10:56:06 +02:00
AFCMS
42d3830c48 [mcl_nether] fix warnings 2021-05-25 08:49:46 +02:00
AFCMS
d3a237384d [mcl_end] fix warnings 2021-05-25 08:40:21 +02:00
NO11
ba38f787e2 Fix local function code style 2021-05-24 11:09:47 +00:00
NO11
8b11e2fec8 Add multiplayer support for pumpkin hud 2021-05-23 22:31:13 +00:00
NO11
9b9ec13967 „mods/ITEMS/mcl_farming/pumpkin.lua“ ändern 2021-05-23 19:38:49 +00:00
NO11
d5a2e5e514 Add "fake" crosshair when the player is wearing a pumpkin 2021-05-23 17:38:53 +00:00
NO11
dddaed42b6 Obstruct the view of the player when wearing a pumpkin 2021-05-23 16:50:09 +00:00
NO11
973a8201ad Pumpkin blur texture 2021-05-23 16:44:01 +00:00
AFCMS
91ac70cf28 Merge branch 'master' into buckets 2021-05-23 16:22:53 +02:00
AFCMS
52b1473657 [mcl_comparators] fix warnings 2021-05-23 11:53:05 +02:00
AFCMS
d43b2149e6 [mcl_dispensers] fix warnings 2021-05-23 11:50:16 +02:00
AFCMS
b814fe47f9 [mcl_observers] fix warnings 2021-05-23 11:47:59 +02:00
AFCMS
962ae359af [mesecons] fix warnings 2021-05-23 11:41:01 +02:00
AFCMS
ddc157acbf [mesecons_commandblock] fix warnings 2021-05-23 11:37:51 +02:00
AFCMS
4fd0ea8a88 [mesecons_delayer] fix code style issues 2021-05-23 11:36:30 +02:00
AFCMS
e6f72e0c60 [mesecons_delayer] fix warnings 2021-05-23 11:29:32 +02:00
AFCMS
dc10448c6e [mesecons_mvps] fix warnings 2021-05-23 11:25:22 +02:00
AFCMS
43f418c6c0 [mesecons_wire] fix warnings 2021-05-23 11:22:45 +02:00
AFCMS
21fdf492e2 [mcl_anvils] fix warnings 2021-05-23 11:20:21 +02:00
AFCMS
c580c1ccad [mesecons_pistons] unify code style 2021-05-23 11:17:19 +02:00
AFCMS
e75a2e3a67 [mesecons_pistons] fix warnings 2021-05-23 11:02:13 +02:00
AFCMS
a9c49853aa [mesecons_pressureplates] fix warnings 2021-05-23 11:01:29 +02:00
AFCMS
4bc473bc29 [mcl_banners] fix some warnings 2021-05-23 10:59:07 +02:00
AFCMS
8f6a97eefe [mcl_beds] fix warnings 2021-05-23 10:57:07 +02:00
AFCMS
be5eb621fd [mcl_books] fix warnings 2021-05-23 10:52:52 +02:00
AFCMS
203c7e2c84 [mcl_beds] fix warnings 2021-05-23 01:09:45 +02:00
AFCMS
892f4b96c9 [mcl_books] fix warnings 2021-05-23 01:07:10 +02:00
AFCMS
b7bf566190 [mcl_bows] fix warnings 2021-05-23 01:06:34 +02:00
AFCMS
fdfb586b16 [mcl_brewing] fix warnings 2021-05-23 00:58:30 +02:00
AFCMS
ac459d3914 [mcl_bucket] fix warnings 2021-05-23 00:42:31 +02:00
AFCMS
621a5a53a8 [mcl_bucket] fix warnings 2021-05-23 00:32:04 +02:00
AFCMS
60736d04b8 [mcl_chests] fix some warnings 2021-05-23 00:31:22 +02:00
AFCMS
df1eeba6b6 [mcl_clock] fix warnings 2021-05-23 00:18:42 +02:00
AFCMS
8ac5d32416 [mcl_compass] fix warnings 2021-05-23 00:17:12 +02:00
AFCMS
402a1d0088 [mcl_core] fix last warning 2021-05-23 00:13:27 +02:00
AFCMS
b8488ce55e [mcl_core] fix missing warnings 2021-05-23 00:12:54 +02:00
AFCMS
f9a86947e5 [mcl_core] fix warnings 2021-05-23 00:09:07 +02:00
AFCMS
30e83088d4 [mcl_doors] fix warnings 2021-05-23 00:03:34 +02:00
AFCMS
b3c0e7c1bd [mcl_dye] fix warnings 2021-05-23 00:01:53 +02:00
AFCMS
bbde3b551f [mcl_enchanting] fix warnings 2021-05-23 00:01:30 +02:00
AFCMS
56310a3624 [mcl_end] fix some warnings 2021-05-22 23:56:52 +02:00
AFCMS
fcc2087b97 [mcl_farming] fix warnings 2021-05-22 23:50:28 +02:00
AFCMS
a1acf6d3c1 [mcl_fishing] fix warnings 2021-05-22 23:49:03 +02:00
AFCMS
82396bd994 [mcl_fireworks] fix warnings (1000 remainings) 2021-05-22 23:31:16 +02:00
AFCMS
45ab5c8e25 [mcl_flowers] fix warnings 2021-05-22 23:29:51 +02:00
AFCMS
b58e61b988 [mcl_heads] fix warnings 2021-05-22 23:25:28 +02:00
AFCMS
a200252ab8 [mcl_itemframes] fix warnings 2021-05-22 23:23:25 +02:00
AFCMS
0cac8f3f44 [mcl_jukebox] fix warnings 2021-05-22 23:22:09 +02:00
AFCMS
9edcc60ba2 [mcl_maps] fix warnings 2021-05-22 23:21:32 +02:00
AFCMS
0113d290b7 [mcl_mobspawners] fix warnings 2021-05-22 23:19:31 +02:00
AFCMS
e91ee174a4 [mcl_ocean] fix warnings 2021-05-22 23:12:33 +02:00
AFCMS
c1a717238b [mcl_portals] fix warnings 2021-05-22 23:07:56 +02:00
AFCMS
a71a0e9161 fix even more warnings (nether portals and potions) 2021-05-22 23:04:18 +02:00
AFCMS
1b3763654e comment unused local function 2021-05-22 20:00:59 +02:00
AFCMS
17202115fa cache general functions 2021-05-22 18:58:58 +02:00
AFCMS
5d65c8a3aa Working empty bucket 2021-05-22 18:57:51 +02:00
AFCMS
e9f38c6b90 WIP raycast base buckets 2021-05-22 10:47:28 +02:00
AFCMS
a9bf923df9 improve mcl_bucket API (on_take callback) 2021-05-19 11:14:18 +02:00
NO11
9e095980c8 Simplify wooden planks crafting even more 2021-05-14 15:00:34 +00:00
NO11
be9fb5be47 Fix #1718 (Give potion particles the same color as in mc) part2 2021-05-14 10:07:58 +00:00
NO11
f4c302e582 Fix #1718 (Give potion particles the same color as in mc) part1 2021-05-14 10:07:42 +00:00
jordan4ibanez
052bb540ba Remove unused parent data for arrows 2021-05-10 20:06:38 -04:00
NO11
9fa51dc6b9 Simplify wooden planks crafting 2021-05-10 10:06:34 +00:00
NO11
6ffb7f525a Add more crafting recipes for wooden planks (including stripped wood) 2021-05-10 09:40:16 +00:00
kay27
f3c540af5d [mcl_mapgen_core, mcl_biomes] Make chorus growth deterministic 2021-05-10 02:24:52 +04:00
NO11
a3d3055e8a Remove cactus destroys minecart from master 2021-05-09 22:10:08 +00:00
NO11
7b78d500fd Better textures for stripped wood part3 2021-05-09 21:57:06 +00:00
NO11
358ea695e1 Better textures for stripped wood part2 2021-05-09 21:55:51 +00:00
NO11
f6b8133381 Better textures for stripped wood part1 2021-05-09 21:54:56 +00:00
NO11
96aec38947 Merge pull request 'master' (#3) from MineClone2/MineClone2:master into master
Reviewed-on: https://git.minetest.land/NO11/MineClone2/pulls/3
2021-05-09 21:52:37 +00:00
kay27
31b56e77ee [mcl_mobspawners] Remove a typo (tab character) 2021-05-08 14:12:13 +04:00
kay27
4bb27a0d79 [mcl_mobspawners] Fix random crash, https://git.minetest.land/MineClone2/MineClone2/issues/1707 2021-05-08 14:09:16 +04:00
Elias Fleckenstein
1bd647507b Add proper end crystal death message 2021-05-05 13:20:06 +02:00
Elias Fleckenstein
a9817fea4b Merge branch 'master' into real_maps 2021-05-05 08:21:01 +02:00
Elias Fleckenstein
70db02306f Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-05-05 08:19:59 +02:00
Elias Fleckenstein
f7280dc4f0 Remove mod screenshots since they only take up space and are partly outdated 2021-05-04 20:16:30 +02:00
Elias Fleckenstein
7513bc600a Merge branch 'master' into compass_and_clock 2021-05-04 09:04:50 +02:00
Elias Fleckenstein
f96258ca5c Fix mob heads not showing their texture when worn as head armor 2021-05-04 09:01:53 +02:00
Elias Fleckenstein
33c6e5cdad Fix wearing pumpkin heads as armor 2021-05-04 08:59:01 +02:00
Elias Fleckenstein
2c5eca3999 Make clocks work in itemframes 2021-05-04 08:49:21 +02:00
Elias Fleckenstein
74e3c6555d Globalize mcl_clock API 2021-05-03 13:43:46 +02:00
Elias Fleckenstein
ecc2010fe5 Make compasses work in itemframes 2021-05-03 11:22:47 +02:00
Elias Fleckenstein
5bb1657bd8 Add moving marker for the player 2021-05-03 10:46:59 +02:00
Elias Fleckenstein
f063d14caf Add craft predict for map copying 2021-05-02 19:30:27 +02:00
Elias Fleckenstein
0d287001f7 Fix tt snippet to update wield filled maps as well 2021-05-02 19:18:30 +02:00
Elias Fleckenstein
63d4e57a8d Correct typo (ninetest -> minetest) 2021-05-02 17:19:11 +02:00
Elias Fleckenstein
ecea8f1662 Prevent placing of wielded maps 2021-05-02 17:14:57 +02:00
Elias Fleckenstein
ef08977112 Copy stack before accessing it in add_item 2021-05-02 17:11:33 +02:00
Elias Fleckenstein
1f87874870 Make it look like the player is holding the map in their hand 2021-05-02 17:03:39 +02:00
Elias Fleckenstein
9a3ae17564 Make maps show their image when in itemframes 2021-05-02 16:04:48 +02:00
Elias Fleckenstein
bd74dbe321 Revert "Use PNG instead of TGA"
This reverts commit ca9cd8cbe0.
The TGA was faster and produced smaller files.
2021-05-02 13:03:18 +02:00
Elias Fleckenstein
ca9cd8cbe0 Use PNG instead of TGA 2021-05-02 12:55:04 +02:00
Elias Fleckenstein
d9a670dcb8 Show empty map in creative inv, but don't show filled map there 2021-05-02 12:24:22 +02:00
Elias Fleckenstein
f22b3fd457 Implement copying maps 2021-05-02 12:23:29 +02:00
Elias Fleckenstein
1079ab74d4 Stack filled maps that have the same metadata 2021-05-02 11:42:16 +02:00
Elias Fleckenstein
2228b30658 Add API to create filled map 2021-05-01 17:36:51 +02:00
Elias Fleckenstein
1ed6aeca5e Remove map_background.png 2021-05-01 17:22:48 +02:00
Elias Fleckenstein
c6e80b5882 Add Real Maps 2021-05-01 16:52:16 +02:00
NO11
1c05461e67 Add #924 (cactus breaks minecart now) 2021-04-30 23:05:40 +00:00
Elias Fleckenstein
8cccbd7caa Fix harming potion crash 2021-04-30 16:38:53 +02:00
Marcin Serwin
e19d39f065 Add polish translation of mesecons_delayer 2021-04-29 17:26:47 +02:00
Marcin Serwin
5b3a156c09 Add polish translation of mesecons_pressureplates 2021-04-29 17:13:54 +02:00
Marcin Serwin
604af04849 Add polish translation of mesecons_noteblock 2021-04-29 17:08:11 +02:00
Marcin Serwin
77597f9bac Add polish translation of mesecons_torch 2021-04-29 16:53:47 +02:00
Marcin Serwin
65846cb6d8 Add polish translation of mesecons_button 2021-04-29 16:47:41 +02:00
Marcin Serwin
97e50714fe Add polish translation of mesecons_lightstone 2021-04-29 16:43:08 +02:00
Marcin Serwin
d74e1fd162 Add polish translation of mcl_dispensers 2021-04-29 16:34:26 +02:00
Marcin Serwin
0e52e09cc8 Add polish translation of mesecons_wires 2021-04-29 16:21:08 +02:00
Marcin Serwin
ffd28c259d Add polish translation of mcl_droppers 2021-04-29 16:11:43 +02:00
Elias Fleckenstein
f8b9f16799 Update mcl_chests translation template 2021-04-29 12:45:15 +02:00
Elias Fleckenstein
404097dcc0 Update german mcl_core translations 2021-04-29 12:43:44 +02:00
Elias Fleckenstein
db78c19880 Remove legacy mcl_potions translations 2021-04-29 12:42:08 +02:00
Elias Fleckenstein
6550e3e8e2 Add per-element armor groups 2021-04-29 11:51:06 +02:00
Elias Fleckenstein
87e41cc9a9 Add support for armor texture and preview being functions 2021-04-29 11:46:27 +02:00
Elias Fleckenstein
ec08032b62 Add on_break callback 2021-04-29 11:40:09 +02:00
Elias Fleckenstein
33c0aa23c5 Re-add thorns damage type 2021-04-29 10:58:10 +02:00
Marcin Serwin
6fac49550e Fix kicking players from bed when it's destroyed 2021-04-29 08:18:33 +02:00
jordan4ibanez
cf46f0d8b8 Fix crashing if null itemstack enchant when player is hacking 2021-04-29 01:32:57 -04:00
jordan4ibanez
e0c94ccb8a Stop thorns enchant from crashing server when dealing damage to mobs 2021-04-28 21:58:28 -04:00
NO11
f1b7476825 Add #1488 (sponge drying in nether makes now particles) 2021-04-28 14:37:16 +00:00
Elias Fleckenstein
13a0fa2314 Implement #1665 2021-04-28 12:16:01 +02:00
Elias Fleckenstein
61c6d6e276 Add per element (un)equip callbacks 2021-04-28 12:00:44 +02:00
AFCMS
ae83e44149 remove duplicated line 2021-04-27 23:50:18 +02:00
Elias Fleckenstein
a41aace9d7 Merge branch 'master' into damage 2021-04-27 18:33:35 +02:00
Elias Fleckenstein
0867d6e406 Update german mcl_banners translations 2021-04-26 11:15:36 +02:00
Elias Fleckenstein
347cc7ee7c Update mcl_banner translations to new template 2021-04-26 11:13:36 +02:00
Elias Fleckenstein
6dc6fc8ec3 Update mcl_flowerpots translations to new template 2021-04-26 11:05:27 +02:00
Elias Fleckenstein
b43f59332a Update mcl_enchanting translations to new template 2021-04-26 11:03:53 +02:00
Elias Fleckenstein
3b1d71382f Update es, fr and ru cauldron translations to use the new template 2021-04-26 11:01:52 +02:00
Elias Fleckenstein
05be20fcb8 Update mcl_enchanting translations 2021-04-26 11:00:53 +02:00
Elias Fleckenstein
5df1df8e21 Update cauldron code to use the corrected translation template string 2021-04-26 10:52:50 +02:00
Elias Fleckenstein
fed4596cb4 Update german cauldron translation fully 2021-04-26 10:52:07 +02:00
Elias Fleckenstein
a77a916cc2 Update cauldron translations 2021-04-26 10:50:23 +02:00
NO11
8df9fe76d8 Add german translation for stripped wood 2021-04-26 08:23:26 +00:00
Elias Fleckenstein
e710795eed Merge branch 'master' into damage 2021-04-26 10:06:09 +02:00
NO11
4d2210c4e5 Fix german translation mistake 2021-04-26 08:03:20 +00:00
NO11
749f1a4a62 Fix wrong template, sry 2021-04-26 07:50:25 +00:00
NO11
e5a44dcb75 Add template for fireworks translation 2021-04-26 07:45:26 +00:00
Elias Fleckenstein
dd68b79782 Merge branch 'master' into damage 2021-04-26 09:29:03 +02:00
NO11
dada1e9815 Add template for stripped wood translation 2021-04-25 21:47:12 +00:00
Elias Fleckenstein
edc89898bb Integrate fire resistance 2021-04-25 20:51:13 +02:00
Elias Fleckenstein
fede04eaa6 Make armor listring work 2021-04-25 20:20:26 +02:00
Elias Fleckenstein
cab2167520 Merge branch 'master' into damage 2021-04-25 17:32:24 +02:00
Elias Fleckenstein
302175691a Integrate death messages 2021-04-25 16:42:38 +02:00
AFCMS
228759e49b Merge branch 'master' of ssh://git.minetest.land:29418/MineClone2/MineClone2 2021-04-25 14:37:17 +02:00
Marcin Serwin
eeaf4e09c6 Add polish translation of mesecons_solarpanel 2021-04-25 14:34:15 +02:00
Marcin Serwin
29001086c3 Add polish translation of mesecons_walllever 2021-04-25 14:30:42 +02:00
Marcin Serwin
1f07f5ba17 Add polish translation of mcl_stairs 2021-04-25 14:26:52 +02:00
Marcin Serwin
095128b6b3 Add polish translation of mcl_fire 2021-04-25 13:55:30 +02:00
Marcin Serwin
bcf5eef010 Add polish translation of mcl_torches 2021-04-25 13:41:04 +02:00
Marcin Serwin
3917bb51a2 Add polish translation of mcl_signs 2021-04-25 13:39:59 +02:00
Marcin Serwin
dd0e381e39 Add polish translation of mcl_beds 2021-04-25 13:33:57 +02:00
Elias Fleckenstein
939229cb21 Fix on_equip crash 2021-04-25 13:29:22 +02:00
Elias Fleckenstein
58d67aace6 Merge branch 'master' into damage 2021-04-25 13:29:07 +02:00
Marcin Serwin
4975a516f5 Add polish translation of mcl_fishing 2021-04-25 13:24:42 +02:00
Marcin Serwin
c0ce511ad0 Add polish translation of mcl_mobspawners 2021-04-25 13:14:56 +02:00
Elias Fleckenstein
ddb7e8388a Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-04-25 13:09:27 +02:00
Elias Fleckenstein
9eba2add3f Rewrite burning API 2021-04-25 13:09:20 +02:00
Marcin Serwin
b93d3cf93c Add polish translation of mcl_books 2021-04-25 12:58:32 +02:00
Marcin Serwin
a038908acd Add polish translation of mcl_crafting_table 2021-04-24 21:51:11 +02:00
Marcin Serwin
a613da65c5 Add polish translation of mcl_walls 2021-04-24 21:47:42 +02:00
Marcin Serwin
18903d5a09 Add polish translation of mcl_wool 2021-04-24 21:23:09 +02:00
Marcin Serwin
c6a07b8007 Add polish translation of mcl_cocoas 2021-04-24 21:19:11 +02:00
Marcin Serwin
67780f2159 Add polish translation of mcl_cake 2021-04-24 21:16:02 +02:00
Marcin Serwin
7e9eb927f1 Add polish translation of mcl_colorblocks 2021-04-24 21:11:45 +02:00
Marcin Serwin
ae7ea8edef Add polish translation of mcl_buckets 2021-04-24 20:57:57 +02:00
Marcin Serwin
0cf58ce98d Add polish translation of mcl_jukebox 2021-04-24 20:57:57 +02:00
Marcin Serwin
0ebf6b8f92 Add polish translation of mcl_tnt 2021-04-24 20:57:57 +02:00
Marcin Serwin
0a8b6a63cb Add polish translation of mcl_mobitems 2021-04-24 20:57:53 +02:00
Elias Åström
7f3e5bda7e Duplicate groupcaps before applying unbreaking 2021-04-23 15:49:37 +02:00
Elias Fleckenstein
827cd2d7b1 Fix heads crash 2021-04-23 13:42:42 +02:00
Elias Fleckenstein
78355c5c57 Integrate totems 2021-04-23 13:40:51 +02:00
Elias Fleckenstein
818f33ff74 Merge branch 'master' into damage 2021-04-23 10:16:58 +02:00
NO11
c46c07f836 Makes fireworks rockets infinite in creative mode 2021-04-22 19:18:05 +00:00
epCode
62adbb9625 Fix #1587 2021-04-22 10:39:21 -07:00
Elias Fleckenstein
f9c2d710e2 Fix armor being taken even if it cannot be equipped 2021-04-22 13:52:02 +02:00
Elias Fleckenstein
222104b3cb Integrate dispensers 2021-04-22 13:51:36 +02:00
Elias Fleckenstein
9f7b371bfc Merge branch 'master' into damage 2021-04-22 13:29:32 +02:00
Elias Fleckenstein
8b23388d63 Fix #1590 (Bed drops itself when gets exploded) 2021-04-22 13:23:07 +02:00
Elias Fleckenstein
74a3b2654f Create inventory if not present in mcl_armor.equip 2021-04-21 13:28:22 +02:00
Elias Fleckenstein
dccb71e2fb Fix view_range_factors warning 2021-04-21 11:34:22 +02:00
Elias Fleckenstein
1e7ba2b605 Merge branch 'master' into damage 2021-04-21 11:32:50 +02:00
Elias Fleckenstein
fe5f61c747 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-04-21 11:31:53 +02:00
kay27
1e5ae0bbac [mcl_beds] Fix screwdriver/bed duplication glitch, https://git.minetest.land/MineClone2/MineClone2/issues/1149 2021-04-21 00:36:07 +04:00
epCode
9c3fcae9e1 Fix many things with player animation and update alex 2021-04-19 13:02:12 -07:00
Elias Fleckenstein
ca74f23094 Merge branch 'master' into damage 2021-04-19 18:58:00 +02:00
NO11
7a5ce1c717 Simplify debarking again 2021-04-19 16:53:48 +00:00
NO11
e8c15867ad Add mcl_stripped_varient node def 2021-04-19 16:50:21 +00:00
Elias Fleckenstein
c80b1c5140 Re-add usage of mcl_colors.GRAY to book descriptions 2021-04-19 15:19:59 +02:00
Elias Fleckenstein
7efc177188 Revert minecraft color set usage in mcl_books and mcl_skins GUI menus.
(Follow-up of d8d4cb5def)
Reverts a2fcd28a3d and partially reverts f8a627915e.
2021-04-19 15:16:59 +02:00
Elias Fleckenstein
d8d4cb5def Revert color changes to GUI.
The Minecraft colorset (net.minecraft.util.text.TextFormatting) is only used for chat and tooltips.
This partically reverts 84819bf9f5.
2021-04-19 14:44:20 +02:00
Elias Fleckenstein
52a49e640e Merge branch 'master' into damage 2021-04-19 09:57:56 +02:00
NO11
0c5ca70187 remove wrong config 2021-04-19 07:35:53 +00:00
Elias Fleckenstein
ec1ef1affa Merge pull request 'Fix #1422' (#1474) from Doloment/MineClone2:ender_chest_fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1474
2021-04-19 07:25:57 +00:00
jordan4ibanez
c03717139b Add mod.conf to mcl_fireworks 2021-04-18 23:23:07 -04:00
jordan4ibanez
44a25de12f Fix crashing with unknown slot description when enchanting 2021-04-18 23:18:18 -04:00
NO11
aa533edda2 Simplify debarking 2021-04-18 18:28:39 +00:00
Elias Fleckenstein
53b0ad7347 Implement magic damage 2021-04-18 20:21:11 +02:00
Elias Fleckenstein
d9195cc520 Redesign damage modifier execution 2021-04-18 20:08:08 +02:00
NO11
49f6ccaa4a Remove old crafting recipes 2021-04-18 18:02:41 +00:00
NO11
3668b2dee6 Summarize all debarked types of wood 2021-04-18 18:02:37 +00:00
Elias Fleckenstein
a2c3eb95bb Merge branch 'master' into damage 2021-04-18 19:51:46 +02:00
NO11
9bc2f2d866 Fix lying trunks that stand upright again after debarking 2021-04-18 17:18:27 +00:00
Elias Fleckenstein
1cf53caa7a Update armor stand entity in on_activate callback, remove debug print 2021-04-18 16:20:32 +02:00
Elias Fleckenstein
d1198e8d74 Register elytra texture 2021-04-18 16:19:12 +02:00
Elias Fleckenstein
4f0bb444fe Integrate armor stand 2021-04-18 16:03:23 +02:00
Elias Fleckenstein
f0d7715080 Merge branch 'master' into damage 2021-04-18 14:51:45 +02:00
Doloment
956dab78ce Added LBM 2021-04-18 09:50:02 +00:00
Elias Åström
fc9928c0b6 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-04-18 11:42:38 +02:00
Elias Åström
573b1dc44b Do not include unnecessary tool_capabilities
This commit makes enchanted tools which have no use for
tool_capabilities to not include it in their metadata.  It does this by
not including tool_capabilities in the metadata of an enchanted tool if
at least one of two cases is true:

(1) The tool is not enchanted with unbreaking or efficiency
(2) The tool does not have tool_capabilities defined in its definition

The first case covers situations like having a pickaxe only being
enchanted with silk_touch.  The second case covers situations like a
piece of armor being enchanted with unbreaking.
2021-04-18 11:40:43 +02:00
Elias Åström
dd69dcfd9f Fix efficiency and unbreaking not working together
This commit fixes an issue were tools enchanted with both efficiency and
unbreaking would loose the effect of one of the enchantments in some
conditions.
2021-04-18 11:40:13 +02:00
kay27
11b66e83a2 [mcl_portals] Better NP search, no more teleports on the roof, fix https://git.minetest.land/MineClone2/MineClone2/issues/1560 2021-04-18 04:29:30 +04:00
AFCMS
4aa6421faf performance optimisation 2021-04-18 00:27:51 +02:00
Elias Fleckenstein
205572cc69 Fix elytra code style 2021-04-17 19:34:23 +02:00
Elias Fleckenstein
bbd115fde0 Update armor stand 2021-04-17 18:39:38 +02:00
Elias Fleckenstein
7c7af7d664 Merge branch 'master' into damage 2021-04-17 18:39:00 +02:00
Elias Fleckenstein
8e37b51cac Equip mob heads with rightclick 2021-04-17 14:07:47 +02:00
Elias Fleckenstein
6724a8d0ed Fix crash in damage handler 2021-04-17 13:59:46 +02:00
NO11
06699c2cc4 Fix that an ax wears out if you right-click another block 2021-04-17 11:55:50 +00:00
Elias Fleckenstein
6bbea11fb8 Fix crash with mcl_heads 2021-04-17 13:53:41 +02:00
Elias Fleckenstein
c7c47c1ca7 Increase mob_view_range_factor performance 2021-04-17 13:49:40 +02:00
Elias Fleckenstein
ca75a893db Merge branch 'master' into damage 2021-04-17 12:58:19 +02:00
AFCMS
02f393998f fix many warnings (644 remaining) 2021-04-17 09:26:37 +02:00
AFCMS
457f61a532 Fix #1570 2021-04-16 11:40:44 +00:00
AFCMS
1a58b0c510 fix many codestyle issues 2021-04-16 13:35:03 +02:00
Elias Fleckenstein
5d5ed91519 Merge branch 'master' into damage 2021-04-16 12:20:53 +02:00
AFCMS
2d6e0241cd Merge branch 'master' into luacheck 2021-04-16 11:03:46 +02:00
AFCMS
1df916bd7b fix warning 2021-04-16 11:03:31 +02:00
epCode
31dfeae445 Fix female player model for footglitch/elytra 2021-04-15 14:57:55 -07:00
AFCMS
60e74fc41d fix excedent lines 2021-04-15 23:44:29 +02:00
AFCMS
a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
Elias Fleckenstein
0c5096db13 Merge pull request 'Fixes for german locales (2021-04-14_locales_german)' (#1564) from n_to/MineClone2:2021-04-14_locales_german into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1564
2021-04-15 16:18:51 +00:00
NO11
a8760c0375 Reduce the radius in which a cactus destroys items 2021-04-15 12:23:08 +00:00
NO11
bbffda3635 Make cactus destroy items 2021-04-15 11:21:15 +00:00
Nils Dagsson Moskopp
2575e20e7e Show preview of new banner pattern when crafting it 2021-04-15 13:25:59 +04:00
Benjamin Schötz
bffd032a8b Fixes my own typo ;) 2021-04-14 22:06:03 +02:00
Benjamin Schötz
e4c8ba795a Fixes typos, grammar errors, and some translation flaws in several german translation files. 2021-04-14 22:03:36 +02:00
Marcin Serwin
2a06be02b3 Add polish translation of mcl_farming 2021-04-14 21:20:58 +02:00
Elias Fleckenstein
8931ffb7d3 Fix crash with armor enchantments 2021-04-14 20:39:35 +02:00
Elias Fleckenstein
727d7be6ab Call on_equip and on_unequip everytime needed 2021-04-14 20:39:05 +02:00
Elias Fleckenstein
ec6d68322a Make hbarmor work 2021-04-14 20:08:08 +02:00
epCode
18cdd13c06 Partialy fix #1559 2021-04-14 11:01:50 -07:00
Elias Fleckenstein
5d9bb7cacd Fix armor not actually protecting lol 2021-04-14 19:06:11 +02:00
Elias Fleckenstein
ad3defdfb3 Merge branch 'master' into damage 2021-04-14 18:29:42 +02:00
Elias Fleckenstein
c41bd3932c Add global smoke spawning API 2021-04-14 18:14:21 +02:00
Elias Fleckenstein
875bb3db84 Use fire-like damage types properly 2021-04-14 17:20:51 +02:00
Elias Fleckenstein
d0ddd38d4e Merge branch 'master' into damage 2021-04-14 16:14:00 +02:00
Elias Fleckenstein
ce0148d9a8 Rewrite armor; new damage system 2021-04-14 15:46:52 +02:00
epCode
5b93ee5e40 Improve rocket 2021-04-13 17:07:28 -07:00
NO11
1c50f9aed6 fix typo 2021-04-13 20:52:55 +00:00
NO11
f768972469 add rocket texture (pixel perfection) 2021-04-13 20:38:00 +00:00
NO11
9c68528b8b add german translation 2021-04-13 20:36:41 +00:00
NO11
1597e093b5 Dateien hochladen nach „mods/ITEMS/mcl_fireworks/sounds“ 2021-04-13 20:35:40 +00:00
NO11
f15a28109c add rocket for elytra boost 2021-04-13 20:33:34 +00:00
Marcin Serwin
c6de8c0669 Add polish translation of mcl_end 2021-04-13 19:26:24 +02:00
Code-Sploit
cd0d2d2296 Fix #1548 2021-04-13 13:57:45 +00:00
kay27
3077498a63 Fix screwdriver/door duplication glitch, https://git.minetest.land/MineClone2/MineClone2/issues/1149 2021-04-13 16:49:10 +04:00
Marcin Serwin
3a88ff7cb3 Add polish translation of mcl_clock 2021-04-13 10:01:37 +02:00
Elias Fleckenstein
78d387e2df Rewrite mcl_torches API 2021-04-13 09:59:51 +02:00
Marcin Serwin
0de2d3d707 Add polish translation of mcl_bows 2021-04-13 09:58:10 +02:00
Marcin Serwin
8934c65564 Add polish translation of mcl_mushrooms 2021-04-13 09:44:00 +02:00
Elias Fleckenstein
037832a177 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-04-13 08:06:28 +02:00
epCode
424685d3d3 Add elytra (sprint in air to use) 2021-04-12 14:56:33 -07:00
Marcin Serwin
9472f86025 Fix spellchecking errors 2021-04-12 17:58:04 +02:00
Elias Fleckenstein
5fb7913355 Revert "Revert "Merge pull request 'Add #490' (#1515) from NO11/MineClone2:master into master""
This reverts commit 615b15f133.
2021-04-12 16:36:08 +02:00
Elias Fleckenstein
d3a3253563 Revert "Revert "Make hoe dig some blocks faster""
This reverts commit db5626fcb4.
2021-04-12 16:34:40 +02:00
Elias Fleckenstein
c3868084af Revert "Fix crash with removed hoey diggroup"
This reverts commit ed7099fefc.
2021-04-12 16:34:25 +02:00
Marcin Serwin
6fb94fb411 Add polish translation of mcl_portals 2021-04-12 16:23:54 +02:00
Marcin Serwin
42d2dfed19 Add polish translation of mcl_chests 2021-04-12 15:48:00 +02:00
Marcin Serwin
33f22f4eed Add polish translation of mcl_compass 2021-04-12 15:33:37 +02:00
Marcin Serwin
cec4011de2 Add polish translation of mcl_hoppers 2021-04-12 15:29:33 +02:00
Elias Fleckenstein
615b15f133 Revert "Merge pull request 'Add #490' (#1515) from NO11/MineClone2:master into master"
This reverts commit 7a8079bb64, reversing
changes made to 849823af1f.
2021-04-12 15:25:31 +02:00
Marcin Serwin
38d788998d Add polish translation of mcl_doors 2021-04-12 15:19:40 +02:00
Elias Fleckenstein
ed7099fefc Fix crash with removed hoey diggroup 2021-04-12 15:18:19 +02:00
Marcin Serwin
9e41d5874a Add polish translation of mcl_potions 2021-04-12 15:08:57 +02:00
Elias Fleckenstein
db5626fcb4 Revert "Make hoe dig some blocks faster"
This reverts commit c1e295de5f.
2021-04-12 15:05:01 +02:00
Marcin Serwin
1be74d21d3 Add polish translation of mcl_enchanting 2021-04-12 14:26:29 +02:00
Marcin Serwin
32e33d3b21 Add polish translation of mclx_core 2021-04-12 13:56:55 +02:00
Marcin Serwin
7d674e6e72 Add polish translation of mcl_cauldrons 2021-04-12 13:54:37 +02:00
Marcin Serwin
ec2e5f7430 Add polish translation of mcl_heads 2021-04-12 13:41:57 +02:00
Marcin Serwin
7a4d009648 Add polish translation of mcl_anvils 2021-04-12 13:37:42 +02:00
Marcin Serwin
8f9f4f6093 Add polish translation of mcl_flowers 2021-04-12 13:23:32 +02:00
Marcin Serwin
38741754e0 Add polish translation of mcl_monster_eggs 2021-04-12 13:02:28 +02:00
Marcin Serwin
f1ce4f0df6 Add polish translation of mcl_screwdriver 2021-04-12 13:00:04 +02:00
Marcin Serwin
a598d94afd Add polish translation of mcl_throwing 2021-04-12 12:59:24 +02:00
Marcin Serwin
d553aa5e8c Add polish translation of mcl_ocean 2021-04-12 12:53:24 +02:00
Marcin Serwin
23e52975fd Add polish translation of mcl_sponges 2021-04-12 12:39:01 +02:00
Marcin Serwin
6c5c4b0080 Add polish translation of mcl_itemframes 2021-04-12 12:17:14 +02:00
Marcin Serwin
b14b08dc30 Add polish translation of mcl_maps 2021-04-12 12:16:54 +02:00
Marcin Serwin
2b6f31fe3b Add polish translation of mclx_fences 2021-04-12 12:16:20 +02:00
Marcin Serwin
321caa0632 Minor translation fixes 2021-04-12 11:27:41 +02:00
Marcin Serwin
8e4ba0d3e1 Add polish translation of xpanes 2021-04-12 11:24:00 +02:00
Marcin Serwin
a7c8bfc0d7 Add polish translation of mcl_banners 2021-04-12 11:01:35 +02:00
Marcin Serwin
504a0e5d2c Add polish translation of mcl_armor 2021-04-12 10:33:01 +02:00
Marcin Serwin
99c20421f4 Add polish translation of mcl_dye 2021-04-12 10:28:42 +02:00
Marcin Serwin
cd8e695ca5 Add polish translation of mcl_brewing 2021-04-12 10:28:27 +02:00
Marcin Serwin
2bf2766688 Add polish translation of mcl_furnaces 2021-04-12 10:28:02 +02:00
Marcin Serwin
7b4eb28160 Add polish translation of mclx_stairs 2021-04-12 10:09:28 +02:00
Marcin Serwin
ee28bda893 Add polish translation of mcl_core 2021-04-11 13:43:19 +02:00
Elias Fleckenstein
9ba1917209 Add end crystal beams 2021-04-10 20:58:34 +02:00
NO11
cdd12a0c71 Charcoal made from debarked wood 2021-04-10 11:19:51 +00:00
NO11
652f8d48ed Debark wood with an axe 2021-04-09 22:16:52 +00:00
NO11
988f298375 Add stripped wood crafting 2021-04-09 22:13:50 +00:00
NO11
c73cd8b810 Add stripped spruce textures 2021-04-09 22:11:32 +00:00
NO11
ebd4380c98 Add stripped oak textures 2021-04-09 22:10:47 +00:00
NO11
3d732c2412 Add stripped jungle textures 2021-04-09 22:10:10 +00:00
NO11
03e112ef9b Add stripped dark oak textures 2021-04-09 22:09:16 +00:00
NO11
9b81a4d83e Add stripped birch textures 2021-04-09 22:08:39 +00:00
NO11
cbcaef19c6 Add stripped acacia textures 2021-04-09 22:07:44 +00:00
NO11
9e5fb7f533 Add #490 2021-04-09 22:04:42 +00:00
kay27
d50fd06c82 Revert "Attemp to fix #1513" in favour of next commit 3375e903ce
This reverts commit f5f6e232cc.
2021-04-09 19:03:45 +04:00
kay27
3375e903ce [mesecons] Fix attempt to call upvalue in internal.lua 2021-04-09 18:52:33 +04:00
AFCMS
f5f6e232cc Attemp to fix #1513 2021-04-09 16:46:41 +02:00
kay27
a733eb8e0c [mesecons] Localise several things in internal.lua 2021-04-09 02:08:03 +04:00
Nils Dagsson Moskopp
7c8cf6f79f Do not crash server if world border is depowered 2021-04-09 01:33:22 +04:00
kay27
f0c2eb86a2 Revert (3/3) "Fix extreme mesecons/redstone crashing at world border"
This reverts commit 0842a36aa6.
2021-04-09 01:32:58 +04:00
kay27
26ce10d25c Revert (2/3) "Add erlehmann fix to redstone world border crash"
This reverts commit b9d175e6a5.
2021-04-09 01:32:27 +04:00
kay27
6b31e85385 Revert (1/3) "Revert fixes to crash world border"
This reverts commit 18f73ba31f.
2021-04-09 01:31:21 +04:00
jordan4ibanez
18f73ba31f Revert fixes to crash world border 2021-04-08 15:48:53 -04:00
jordan4ibanez
b9d175e6a5 Add erlehmann fix to redstone world border crash 2021-04-08 15:16:38 -04:00
jordan4ibanez
0842a36aa6 Fix extreme mesecons/redstone crashing at world border 2021-04-08 14:28:07 -04:00
iliekprogrammar
d50665d2d5 Allow kelp stems at half height to be treated like full-sized ones.
Remove debug information
2021-04-08 19:25:19 +08:00
iliekprogrammar
5ccb12586d Fix bug where incorrect number of items are dropped. 2021-04-08 13:35:49 +08:00
iliekprogrammar
2db0e176b3 Prevent param2 overflow when adding stems. Fix #1490 2021-04-08 12:46:04 +08:00
kay27
8e30bc8dbd [mcl_portals] Prevent from spawning Nether portals in Undertale when not enough air space in Nether 2021-04-08 02:54:33 +04:00
Elias Fleckenstein
6e2a7c8a7e Make gateway enderpearl teleports easier 2021-04-07 13:47:48 +02:00
Elias Fleckenstein
c451866a36 Fix #1426 2021-04-07 09:56:00 +02:00
Elias Fleckenstein
3c1a38904a Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-04-07 09:25:44 +02:00
Elias Fleckenstein
b2c09c8ba0 Add gateway portals 2021-04-07 09:17:13 +02:00
kay27
069e089ae4 [mcl_portals, mcl_structures] Add End gateways W-I-P by Elias Fleckenstein with minor portals improvements and fixes 2021-04-07 03:34:15 +04:00
Elias Fleckenstein
430f958fae Move end exit portal to 0, 0; Add end gateway portals (WIP) 2021-04-06 20:08:20 +02:00
Elias Fleckenstein
f65c40f805 Make dragon egg teleport on punching 2021-04-06 17:20:11 +02:00
Doloment
51f121d516 Merge branch 'master' into ender_chest_fix 2021-04-06 14:57:19 +00:00
Elias Fleckenstein
89a9b16465 Merge pull request 'Add End Credits' (#1469) from credits into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1469
2021-04-06 14:39:47 +00:00
Elias Fleckenstein
ea08fee9ba Make the dragon stay within a 50 blocks range of the portal 2021-04-06 16:38:23 +02:00
Doloment
1e17989ef2 Prevent opening an ender chest while block above it 2021-04-06 21:17:02 +07:00
Elias Fleckenstein
91e2372df0 Merge branch 'master' into credits 2021-04-06 16:06:12 +02:00
Elias Fleckenstein
058c6ef9f4 Merge pull request 'Fix chest entity textures' (#1472) from Doloment/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1472
2021-04-06 14:03:30 +00:00
Elias Fleckenstein
83b9cf3ad2 End exit portal openng / closing on dragon death / spawn 2021-04-06 15:48:17 +02:00
Doloment
31a7a4fbb6 Merge branch 'master' into master 2021-04-06 13:42:07 +00:00
Elias Fleckenstein
962a13847e Fix dragons summoned using commands spawning an egg on the exit portal 2021-04-06 14:57:29 +02:00
Doloment
055c406d7a Fix chest entity textures (trapped chests were lighter) 2021-04-06 18:57:06 +07:00
Elias Fleckenstein
a348909ba3 Enderdragon: Proper Egg and XP spawning 2021-04-06 12:50:36 +02:00
Elias Fleckenstein
c93a865098 Remove empty line from mcl_portals 2021-04-06 11:59:22 +02:00
Elias Fleckenstein
175cb44fb1 Merge branch 'master' into credits 2021-04-06 10:53:15 +02:00
AFCMS
91da727184 Merge branch 'master' of ssh://git.minetest.land:29418/MineClone2/MineClone2 2021-04-05 15:22:57 +02:00
AFCMS
339e3e2792 fix some tools not using right var 2021-04-05 14:32:48 +02:00
AFCMS
28402ca663 store tool wield scale in a global var 2021-04-05 10:16:56 +02:00
Elias Fleckenstein
90f312f772 Add credits overlay prototype 2021-04-04 19:13:46 +02:00
Elias Fleckenstein
598692cf8c Add nil check to prevent crashes with mcl_throwing 2021-04-04 12:10:21 +02:00
AFCMS
0db47dbf02 Merge branch 'remove-alpha-field' 2021-04-02 14:43:08 +02:00
AFCMS
59d687c579 fix API.md 2021-04-02 14:30:46 +02:00
AFCMS
c457c4ce3c fix undeacleared vars in mcl_fishing 2021-04-02 14:28:43 +02:00
AFCMS
ead33e3520 fix undeacleared vars in mcl_throwing 2021-04-02 14:27:35 +02:00
AFCMS
e20e0fab71 remobe backward compatibility for portals 2021-04-02 14:16:14 +02:00
AFCMS
695ad9120b remove backward compatibility for water 2021-04-02 14:12:44 +02:00
NO11
39aaf0f21f Fix #1391 2021-04-02 11:09:45 +00:00
epCode
5356e97b77 fix copy/pasted arrow texture to pixel-perfection 2021-03-31 11:23:59 -07:00
iliekprogrammar
9885f36c62 Fix missing age metadata and timer initialization in on_place. 2021-03-31 19:27:57 +08:00
iliekprogrammar
bfff643ff4 Allow age to override during initialization. 2021-03-31 17:38:38 +08:00
iliekprogrammar
ccea673dcc Fix updating age metadata. Remove kelp.lock_drop. 2021-03-31 17:31:28 +08:00
iliekprogrammar
08e280d9b4 Comment out debug stuff 2021-03-31 14:17:50 +08:00
iliekprogrammar
52c788f197 Merge branch 'master' into kelp 2021-03-31 13:59:27 +08:00
iliekprogrammar
089d6aa5c8 Add dug sounds to kelp when unsubmerged 2021-03-31 13:55:07 +08:00
iliekprogrammar
9518086b6b Kelp store age metadata by bulk on a queue, improve API, etc.
Highlights:
- Implement storing age metadata by bulk on a queue, with maximum interval and queue length.
- "Flexible" initial growth probability. Will provide helper APIs.
- Fix various bugs with unsubmerged kelp detection, submerged tip detection, age metadata.
- Various optimizations.
2021-03-31 13:41:52 +08:00
epCode
86b63c8bc4 Make player model easier to use 2021-03-30 13:26:46 -07:00
epCode
38e4e7293a fix female player anim XD 2021-03-30 10:29:46 -07:00
epCode
a14959ac70 add player death animation and particles 2021-03-30 09:53:55 -07:00
AFCMS
a040355dce Revert "Revert "Revert "improve wieldview API (!)"""
This reverts commit d4e0d4d1c1.
2021-03-30 01:00:51 +02:00
AFCMS
d4e0d4d1c1 Revert "Revert "improve wieldview API (!)""
This reverts commit 613779a851.
2021-03-30 01:00:17 +02:00
AFCMS
613779a851 Revert "improve wieldview API (!)"
This reverts commit 600e8bede2.
2021-03-30 00:59:00 +02:00
AFCMS
600e8bede2 improve wieldview API (!)
to support transform registration without groups
this will make detaching screwdriver from mcl more easy
2021-03-30 00:35:29 +02:00
AFCMS
84819bf9f5 MAKE EVERY SINGLE MOD USE PROPER COLORS!!! 2021-03-30 00:01:29 +02:00
AFCMS
f8a627915e use proper colors in mcl_books 2021-03-29 22:57:05 +02:00
AFCMS
f51deb0737 use propers colors in mcl_jukebox 2021-03-29 22:21:14 +02:00
ArTee3
1b9737b431 Prevent beds from appearing and disappearing if they cannot be placed, fix #1419 2021-03-29 18:19:46 +02:00
iliekprogrammar
ecdbc30b63 Overhaul kelp interactions.
Highlights:
- Added locking system to drops. Will be removed after testing.
- Expose more variables and functions. Will be finalized soon.
- Implement MC-like age and natural growth mechanics.
- Implement correct piston interactions with kelp and its surface.
- Implement correct falling node interactions for its surface.
- ABMs are now nonfunction. Will be fixed.
- Various optimizations and fixes.
2021-03-29 14:09:09 +08:00
kay27
80d845adb6 [mcl_mapgen_core] Fix Nether generation chain reaction 2021-03-29 03:18:17 +04:00
kay27
bbd52043f1 [mcl_portals] Make '/spawnstruct nether_portal' chat command work in obsidian nodes (immediate destruction triggered) 2021-03-29 02:17:32 +04:00
kay27
05260d03d5 [mcl_portals] Fix crash on access empty index trying to find portal after its destruction 2021-03-29 01:33:01 +04:00
kay27
cb2aae5a55 [mcl_mapgen_core] Redesign, mostly to remove water from End and restore static lvm_buffer to speed it up 2021-03-28 22:57:11 +04:00
AFCMS
d07cf64d11 Merge pull request 'mcl_death_drop refactoring' (#1415) from mcl-death-drop-refactoring into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1415
2021-03-28 18:13:57 +00:00
AFCMS
5a4355b859 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-28 19:44:43 +02:00
kay27
628ca226a6 [mcl_portals] Additionally index source Nether portals from 0.71 and earlier before teleporting, to make possible returning through them 2021-03-28 20:36:35 +04:00
iliekprogrammar
24da94ec3b Disable ABMs in favor of nodetimers to check if kelp is unsubmerged. 2021-03-28 20:29:29 +08:00
iliekprogrammar
e76a0ba6e8 Added kelp API and additional refactorings.
WIP: register nodetimers for kelp
2021-03-28 14:51:21 +08:00
kay27
54e7529754 [mcl_achievements] Add mcl:stoneAge, mcl:hotStuff, mcl:obsidian 2021-03-28 04:32:57 +04:00
AFCMS
3ba7a40251 Add API documentation 2021-03-27 23:07:46 +01:00
AFCMS
9bb5e748b9 Add documentation to mcl_crafting_table API 2021-03-27 15:20:01 +01:00
AFCMS
61c9d065fb Fix  #1400 2021-03-27 07:19:35 +01:00
AFCMS
e2fd0823b9 Fix #1398 2021-03-27 07:10:50 +01:00
AFCMS
e2adead700 use proper colors 2021-03-26 22:50:37 +01:00
AFCMS
e11941c107 Add API documentation for mcl_throwing 2021-03-26 22:43:18 +01:00
AFCMS
e3c99c5be2 add basic API to mcl_throwing
remove hard depends to mcl_fishing
2021-03-26 22:31:15 +01:00
AFCMS
50c35ff5e8 Merge branch 'master' into command-block-setting 2021-03-26 10:06:18 +00:00
AFCMS
53d7134437 remove unuseful spamming messages 2021-03-26 10:00:48 +01:00
AFCMS
78bad87a72 fix transation 2021-03-26 09:59:58 +01:00
AFCMS
0e5bbd6d3d fix msg to be mc like
https://www.digminecraft.com/game_commands/enable_command_blocks.php
2021-03-26 09:57:28 +01:00
kay27
25f6a9ee23 [mcl_core] Set obsidian.is_ground_content to false, see https://git.minetest.land/MineClone2/MineClone2/issues/1372 2021-03-26 09:29:05 +04:00
AFCMS
8258dae1b8 setting working 2021-03-25 22:13:37 +01:00
AFCMS
e4a6244fdd add basic setting 2021-03-25 22:07:38 +01:00
AFCMS
b9301f12ce Update mod.conf 2021-03-25 21:59:21 +01:00
AFCMS
86a18802dc use proper colors 2021-03-25 21:57:07 +01:00
Elias Fleckenstein
43a60e0c57 Fix #1357 2021-03-24 09:00:31 +01:00
kay27
6addb7db18 Merge pull request 'Move item renaming to tt to fix enchanted named items' (#1364) from BlueBlancmanche/MineClone2:anvil-fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1364
2021-03-24 05:09:54 +00:00
Elias Åström
0d7c2c4988 Fix #1358 for real 2021-03-23 12:02:00 +01:00
kay27
3e58e989a1 [mcl_portals] Support Nether portals from 0.71 and earlier 2021-03-23 03:19:17 +04:00
kay27
06280e3bba [mcl_portals] Generate target map chunks on portal creation 2021-03-23 03:17:23 +04:00
Blue Blancmange
44c4999b37 Move item renaming to tt. This allows additional information such as enchantments to be displayed on named items 2021-03-22 23:02:11 +00:00
kay27
7fe3217cd0 [mcl_portals] Remove debug messages 2021-03-22 11:32:28 +04:00
kay27
03feb36558 Improve Nether Portals (#1315) (as a squash)
Remove Nether portal caches, https://git.minetest.land/MineClone2/MineClone2/issues/1210

Store all exits from Nether portals in quick-access table

Implement proper Nether portal search, using the table, https://git.minetest.land/MineClone2/MineClone2/issues/1055

Store Nether portal exits table in mod storage

Remove exits from table on Nether portal destruction

Align destination area to [map chunks 5x5x5](https://git.minetest.land/MineClone2/MineClone2/wiki/World-structure%3A-positions%2C-boundaries%2C-blocks%2C-chunks%2C-dimensions%2C-barriers-and-the-void) to avoid lots of ```emerge_area()``` calls

Support Nether roof, https://git.minetest.land/MineClone2/MineClone2/issues/1267

Implement better suitable place search, https://git.minetest.land/MineClone2/MineClone2/issues/1126

Implement object queue not to trigger the same search again

Avoid lava lakes, https://git.minetest.land/MineClone2/MineClone2/issues/1126

Add ```/spawnstruct nether_portal``` chat command
Co-Authored-By: kay27 <kay27@noreply.git.minetest.land>
Co-Committed-By: kay27 <kay27@noreply.git.minetest.land>
2021-03-21 23:14:33 +00:00
kay27
1f925b6c84 Merge pull request 'Give xp if items are moved between furnace slots, unlock smelting achievements if furnace is inactive' (#1360) from ArTee3/MineClone2:furnace-fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1360
2021-03-21 22:53:59 +00:00
Elias Fleckenstein
9a4d26c2ae Fix all invalid usages of math.random in mcl_bows 2021-03-21 19:52:27 +01:00
Elias Fleckenstein
2d1ac1c7fa Properly fix arrows crashing the server 2021-03-21 19:47:13 +01:00
Elias Fleckenstein
f0c2a0a1e9 Fix arrows crashing the server 2021-03-21 19:45:33 +01:00
ArTee3
1fa2bd3477 Give xp if items are moved between furnace slots, unlock smelting achievements if furnace is inactive 2021-03-21 17:01:28 +01:00
Elias Åström
7f56e5efa4 Add hoey digging group to hand 2021-03-21 12:43:47 +01:00
Elias Åström
c1e295de5f Make hoe dig some blocks faster
- Sponges
- Hay and kelp blocks
- Nether wart
- Leaves
2021-03-21 12:39:14 +01:00
Elias Åström
dac3c21628 Do not register "creative_breakable" as a diggroup 2021-03-21 12:26:34 +01:00
Elias Åström
b0c7941b3a Fix #1358 2021-03-21 12:18:24 +01:00
iliekprogrammar
ca635b69be Various fixes. 2021-03-21 14:06:54 +08:00
iliekprogrammar
ebf9f8c918 placing kelp now creates water sources, small refactoring. 2021-03-21 12:16:56 +08:00
Elias Åström
1621c23308 Rename "tool_multiplier" to "speed" for tools 2021-03-20 19:25:47 +01:00
iliekprogrammar
23f69dfd1e Core implementation of MC-like kelp drops.
Highlights:
* Kelp should no longer be able to survive without water
(by decreasing its height)
* When kelp is destroyed, each segment now drop a single kelp similar to MC.
* Significantly refactor how kelp grows and dig. Possible optimizations might be
included.
2021-03-21 02:22:25 +08:00
epCode
c877d6e922 Merge pull request 'Slightly lift your right arm when holding an item.' (#1345) from iliekprogrammar/MineClone2:hand into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1345
2021-03-20 02:29:11 +00:00
iliekprogrammar
03be45b983 Fix indentation from iliekprogrammar's previous PRs 2021-03-20 09:17:43 +08:00
Nicu
a40e1c4737 Reduce the size of the pumpkin texture
2732 -> 303 bytes

* We need smaller file sizes for better game startup time, especially for multiplayer and mobile gaming.
2021-03-19 17:41:37 +00:00
Nicu
df8fdda2c5 Fix #1346
Fixes crash trying to place cocoa
2021-03-19 17:25:40 +00:00
Elias Fleckenstein
d168bfa791 Fix pumpking breaking armor display 2021-03-19 14:47:52 +01:00
Elias Fleckenstein
c20bd768ec Revert "Fix #1277". The commit caused each enchanted armor piece to overlay an additional violet layer over all previous armor layers. A better fix needs to be found.
This reverts commit b82da05590.
2021-03-19 14:36:48 +01:00
Elias Fleckenstein
327bb68927 Fix crystal on_place handler 2021-03-19 12:03:32 +01:00
Elias Fleckenstein
f3c37f49b9 Only extinguish flame arrow on removal 2021-03-19 11:37:12 +01:00
Elias Åström
ed30fa0868 Move data from deprecated files to mod.conf
Move data from deprecated files (depends.txt and description.txt) into
fields in mod.conf for all mods.

This was done with a shell script :)
2021-03-18 17:37:12 +01:00
Elias Åström
8d473a42ca Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-18 14:04:02 +01:00
Elias Åström
dc41c594aa Move depends.txt into mod.conf for mcl_comparators
Fixes a crash in mcl_comparators caused by attempting to index global
'mesecon' (a nil value).
2021-03-18 13:45:29 +01:00
Elias Åström
bfe51316ee Merge branch 'mcl_autogroups' 2021-03-18 13:43:58 +01:00
Elias Fleckenstein
3df3e957e2 Make nodes usable when wielding an end crystal 2021-03-18 12:41:39 +01:00
Elias Fleckenstein
6ac0d628ef Fix #1319 2021-03-18 12:34:12 +01:00
Elias Åström
c8b543991f Automatically assign nodes to creative_breakable
If they belong to any digging group.
2021-03-18 11:35:40 +01:00
Elias Åström
8f9650abe4 Update the groupcaps of all enchanted tools
Not just those enchanted with efficiency.
2021-03-18 11:35:40 +01:00
Elias Åström
cff0130506 Rename _mcl_autogroup_groupcaps to _mcl_diggroups 2021-03-18 11:35:40 +01:00
Elias Åström
ece4c892f4 Force tools to include levels in their diggroups 2021-03-18 11:35:40 +01:00
Elias Åström
6458565bf9 Move mcl_util.hash to a local function
It is probably unlikely it will be useful at other places in Mineclone2.
2021-03-18 11:35:40 +01:00
Elias Åström
2e9b3c2259 Move efficiency code to its own file 2021-03-18 11:35:40 +01:00
Elias Åström
e77473e800 Make changes to the mcl_autogroup API
Group levels are now specified as a list of names when registering a
digging group.  Digging groups which do not have specified levels will
support tools having two levels, 0 and 1 where 0 means the tool can dig
but not harvest the node and 1 means it can also harvest the node.  If
more levels are required one has to specifiy them when registering the
digging group.
2021-03-18 11:35:40 +01:00
Elias Åström
922bdbc601 Use hashing for more efficient groupcaps updating
This adds the metadata field "groupcaps_hash" to tools enchanted with
efficiency.  This value contains a hash of the groupcaps field in
tool_capabilities.  This value gets compared to the expected hash value
to determine if the tools tool_capabilities should be updated according
to commit af31f8189e8e5c2b.

This commit makes efficiency more efficient.
2021-03-18 11:35:40 +01:00
Elias Åström
3241dbbec5 Update enchanted tools with outdated digging times
Because of the way digging times is implemented in Mineclone2, it is
possible for the digging times of efficiency enchanted tools to become
outdated.

This fixes that by automatically updating the tools tool_capabilities
after each time the tool is used.
2021-03-18 11:35:40 +01:00
Elias Åström
b47733507d Fix tools not taking wear when rightclicking
Added the API function mcl_autogroup.get_wear which is used to get the
tool wear for digging a node of a group.  This is used by mcl_tools to
compute the wear of shovels and shears when rightclicking to create
grass paths and carve pumpkins.
2021-03-18 11:35:29 +01:00
Elias Åström
f0528b11d7 Make mcl_enchanting use the new mcl_autogroups
The function mcl_autogroups.get_groupcaps is used by mods to get the
groupcaps for tools with efficiency enchantments.  This function is used
by mcl_enchanting when enchanting tools with efficiency.
2021-03-18 11:34:26 +01:00
Elias Åström
0c90dda04c Rename register_digtime_group to register_diggroup 2021-03-18 11:34:26 +01:00
Elias Åström
f8461d5e90 Remove mcl_autogroups.get_groupcaps
Requiring tool definitions to call a function in _mcl_autogroup means
that they need to be loaded after _mcl_autogroup.  This can cause
problems because _mcl_autogroup needs to be loaded after all tool and
node definitions are completed.

Because of this the API is changed so tool definitions instead put the
data used to generate groupcaps in the custom field
_mcl_autogroup_groupcaps.  _mcl_autogroup will then go through all
registered tools and update the groupcaps for every tool where this
field is present.  This means that no mod ever has to depend on
_mcl_autogroup.
2021-03-18 11:33:18 +01:00
Elias Åström
fb6f5eae7a Rewrite mcl_autogroup
These changes are primarly made to make mcl_autogroup more efficient.
Previously enchanted tools required storing around 21 kB of metadata due
to the way the previous version of the mod was implemented.  This caused
a lot of lag and a huge amount of network traffic.  With the changes
enchanted tools won't require more than 1 kB of metadata.

The mod is also rewritten to use an API to register digging groups and
compute the groupcaps for tools.  This will make it easier for modders
to register custom digging groups.

The mod is now split up into two parts.  One part called "mcl_autogroup"
to implement the API for registering custom digging groups, and the
other part called "_mcl_autogroup" which contains most of the code which
has to be loaded after most mods.
2021-03-18 11:32:18 +01:00
epCode
6b1ce182d3 Make players able to shoot themselves 2021-03-17 13:47:02 -07:00
AFCMS
5df668f6af fix mcl_buckets extra_check #1320 2021-03-17 16:56:46 +01:00
ZeDique la Ruleta
6c49c46697 Chests now open 90 degrees, regardless
- Removed 'block' check with chests, they will always open 90 degrees regardless of what's behind them
2021-03-16 23:10:34 -04:00
epCode
b82da05590 Fix #1277 2021-03-16 19:18:07 -07:00
epCode
86f2d639f9 Make arrows remove after a longer period 2021-03-16 16:01:47 -07:00
epCode
33c589369f Make arrows stick into players. 2021-03-16 15:22:36 -07:00
AFCMS
6645c4cb30 Really 2021-03-16 17:43:32 +01:00
AFCMS
8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
AFCMS
5d17a6b699 fix SO MANY pairs/ipairs 2021-03-16 17:35:46 +01:00
Code-Sploit
834dfcf9af Change Max Empty bucket stack back to 16 but keep Lava and Water max_stack. Reason: Wrong research 2021-03-16 13:05:19 +00:00
Code-Sploit
f06a56d7c4 Set max_stack of Lava, Water and Emtpy buckets to 1 2021-03-16 12:54:33 +00:00
AFCMS
c1da231f9d Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-15 09:37:54 +01:00
AFCMS
731d42196a fixes in mcl_cocoas 2021-03-15 09:02:45 +01:00
iliekprogrammar
c30e9e511d Fix inconsistent setting for cached smoke pdef 2021-03-15 10:09:56 +08:00
iliekprogrammar
8519730ee4 Further tweak fire particles.
Highlights:
- Reduce amount of smoke significantly
- Reduced smoke size
- Rarer chance of smoke rising up to 8 blocks
- Better smoke colors
2021-03-15 10:04:47 +08:00
AFCMS
fe6b7cb89b improve mcl_fire
cache functions used in ABM/globalsteps
remove depends.txt
2021-03-15 01:10:33 +01:00
AFCMS
c8a7ca729e remove depends.txt in mcl_cake 2021-03-15 00:42:34 +01:00
AFCMS
5098932b98 remove depends.txt and description.txt in mclx_core 2021-03-15 00:40:08 +01:00
iliekprogrammar
09f97584bc Merge branch 'master' into fire_particle 2021-03-14 19:30:04 +00:00
iliekprogrammar
b23495b9c1 Implement new fire particles 2021-03-15 02:57:13 +08:00
iliekprogrammar
1b00346790 Add breaking sounds. 2021-03-14 20:47:31 +08:00
iliekprogrammar
7ce6485717 Allow portals to break only in creative and to be pointed. 2021-03-14 20:10:12 +08:00
kay27
53bfda827a Merge pull request 'Allow water & lava buckets dispensed break nether portals.' (#1302) from iliekprogrammar/MineClone2:portal into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1302
2021-03-14 08:31:54 +00:00
Code-Sploit
08f522ffff Fix arrows being pointable 2021-03-14 06:24:34 +00:00
iliekprogrammar
7a5aa54035 Allow water & lava buckets dispensed break nether portals. 2021-03-14 12:10:54 +08:00
AFCMS
68df2c447a Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-13 11:13:36 +01:00
AFCMS
3ef10cfb30 add API for mcl_crafting_table and cache functions for better performances 2021-03-13 11:12:26 +01:00
epCode
8115575f20 Fix problem with power enchantment 2021-03-12 16:07:57 -08:00
epCode
46be7c0388 Fix arrow mesh being backwards 2021-03-12 15:56:40 -08:00
epCode
90a0858495 Make new arrow mesh work with tipped arrows 2021-03-12 15:36:43 -08:00
epCode
1d65daa2c9 Fix arrow mesh 2021-03-12 15:17:14 -08:00
epCode
9419db6d35 Fix wrong experation time 2021-03-12 15:02:53 -08:00
epCode
40471399cb Fixes for arrows 2021-03-12 14:45:22 -08:00
AFCMS
a84b70bde6 move buckets registering to separate file 2021-03-12 20:05:47 +01:00
AFCMS
36cc040c41 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-12 19:56:22 +01:00
AFCMS
752f74e554 remix mcl_buckets API to be more self documented 2021-03-12 19:56:15 +01:00
Elias Fleckenstein
75c2787583 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-03-12 15:50:32 +01:00
Elias Fleckenstein
88372778c9 Fix another anvil weirdness and dupe glitch 2021-03-12 15:50:05 +01:00
AFCMS
6c3d4524a0 Add backward compatibility for mcl_jukeboxes 2021-03-12 15:36:24 +01:00
Elias Fleckenstein
0a5b1e75d0 Fix anvil duplication glitch 2021-03-12 15:30:27 +01:00
AFCMS
ad87169120 fix warnings 2021-03-12 10:03:57 +01:00
AFCMS
81167b4431 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-12 10:02:03 +01:00
epCode
eeb1f88e08 Fix invisibility to be more MC-like 2021-03-11 19:14:23 -08:00
AFCMS
06e8e972cc add help text to mcl_farming 2021-03-12 00:48:53 +01:00
AFCMS
8c87014a01 fix fern texture 2021-03-12 00:47:34 +01:00
AFCMS
fb8b0e877e Add API documentation for mcl_jukeboxe 2021-03-12 00:24:34 +01:00
AFCMS
bed3dd87ad Add API for mcl_jukebox 2021-03-12 00:10:50 +01:00
AFCMS
1a60d08a37 mcl_farming make plantlist copy global and mcl_jukebox cleanup
Sorry, I forgot to commit between the 2 features :-(
2021-03-11 23:39:26 +01:00
epCode
19337489f6 Fix crash with mcl_flowers 2021-03-11 14:31:36 -08:00
AFCMS
6fd6717302 cleanup 2021-03-11 23:09:53 +01:00
AFCMS
3b7b055e2c add saplings to mcl_flowerpots 2021-03-11 22:42:42 +01:00
AFCMS
d37d6fe07f fix textures 2021-03-11 22:18:39 +01:00
AFCMS
7b5d67cdbe add flowerpots API 2021-03-11 22:13:43 +01:00
AFCMS
134005180c add global table of registered flowers (to be used with mcl_flowerpots and other mods) 2021-03-11 17:49:16 +00:00
AFCMS
20e0aed58a fix typos 2021-03-11 17:43:55 +00:00
AFCMS
21ddae3dc1 Add API documentation for mcl_flowers 2021-03-11 17:43:09 +00:00
AFCMS
5124a97add move flowers registering to separate file 2021-03-11 17:36:02 +00:00
AFCMS
31eff23ce8 move flowers registering to separate file (WIP) 2021-03-11 17:34:15 +00:00
AFCMS
9a910e033b Add basic API to register flowers (#53) 2021-03-11 17:31:29 +00:00
epCode
d12009538e Better mob_mount animations (riding) 2021-03-10 12:27:42 -08:00
AFCMS
d3a2faefe2 Partialy fix #1232 2021-03-08 09:56:43 +00:00
kay27
6e6809f360 Make books in chest loot deterministic, ref. https://git.minetest.land/MineClone2/MineClone2/issues/1254 and https://git.minetest.land/MineClone2/MineClone2/issues/1060 2021-03-08 04:14:03 +04:00
AFCMS
3635b848d5 add API for mcl_wip 2021-03-07 00:42:34 +01:00
Elias Fleckenstein
d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
Elias Åström
97bd3777e1 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-03-01 16:10:55 +01:00
Elias Åström
1b9857219d Lower drop rate of TNT to 25 %
So it becomes consistent with Minecraft 1.12.
2021-03-01 16:08:52 +01:00
Elias Fleckenstein
f5b590901e Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-03-01 10:52:07 +01:00
Elias Fleckenstein
95b0a495bc Fix #1152 2021-03-01 10:51:57 +01:00
Code-Sploit
578709c93e Add Depth Strider enchantment 2021-02-27 15:35:59 +00:00
pitchum
d0e789daf2 More fixes in French translations 2021-02-27 13:43:57 +01:00
pitchum
390f877230 Fix French translations 2021-02-27 10:35:46 +01:00
kay27
3a2300382b Translate mcl_enchanting to Russian 2021-02-27 01:48:22 +04:00
Elias Fleckenstein
524b3343bd Fix #1200 2021-02-26 09:19:11 +01:00
kay27
0e37188ad1 Fix https://git.minetest.land/MineClone2/MineClone2/issues/1108 2021-02-26 02:48:22 +04:00
epCode
8f2a588059 Fix #1156 2021-02-25 12:27:14 -08:00
Elias Fleckenstein
360436cf19 Fix #1183 2021-02-25 10:24:26 +01:00
epCode
d1fd3cc827 Add 3D wieldveiw for non-item objects 2021-02-24 13:20:31 -08:00
Elias Fleckenstein
da606fa9d2 Add 3d wielded nodes (not functional until Right_Hand bone is added) 2021-02-24 12:58:30 +01:00
Elias Fleckenstein
62171b9cf9 Implement #1099 2021-02-24 10:55:13 +01:00
Elias Fleckenstein
6780031454 Fix #1181 2021-02-24 08:33:35 +01:00
epCode
5a6810aa6a Add female player model (though unutilized) 2021-02-23 09:47:02 -08:00
Elias Fleckenstein
2d4b8a8232 Replace usages of get_node_group by get_item_group 2021-02-23 10:25:17 +01:00
Elias Fleckenstein
5de9d90569 Simplify mcl_burning API 2021-02-22 10:55:14 +01:00
Elias Fleckenstein
3d0f5a4de5 Fix #1161 2021-02-22 10:43:59 +01:00
Elias Fleckenstein
30b1d58e67 Revert "Merge pull request 'Change Diamond and Emerald textures to more Minecraft-looking ones' (#1100) from TechDudie/MineClone2:master into master"
This reverts commit 2f206a0640, reversing
changes made to 0bde0aabf6.
2021-02-20 10:46:52 +01:00
epCode
d29c045ad8 Fix sneak_mine glitch 2021-02-19 09:19:18 -08:00
AFCMS
fa0ea94433 replace pairs() by ipairs() in mcl_bow 2021-02-18 15:35:52 +00:00
Elias Fleckenstein
c9e589b931 Add mcl_burning damage interval 2021-02-18 14:47:35 +01:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
Elias Fleckenstein
82e113f0fc Update usages of alpha to the 5.4 convention 2021-02-18 10:58:50 +01:00
Elias Fleckenstein
bec5339fc6 Update existing occurences of use_texture_alpha to the Minetest 5.4 convention if the feature is detected 2021-02-18 10:39:19 +01:00
Elias Fleckenstein
9b349a1684 More flexible wield rotation determination 2021-02-18 09:28:12 +01:00
Elias Fleckenstein
69959fe816 Fix #1142 2021-02-18 08:58:28 +01:00
epCode
18a8d011a2 Sprinting anim, MC-like Player anims, Swimming detection 2021-02-17 15:17:12 -08:00
epCode
0d8744d9a0 Fix player head node textures 2021-02-16 18:11:53 -08:00
Rocher Laurent
529f799cc2 Translate French - Small fixes 2021-02-16 22:30:26 +01:00
Elias Fleckenstein
b0c1aea881 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-02-15 16:44:18 +01:00
Elias Fleckenstein
e5caef3440 Fix Double chest model 2021-02-15 16:41:33 +01:00
kay27
3e584cdfb7 Merge pull request 'Update translate-fr' (#1104) from lrocher/MineClone2:translate-fr into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1104
2021-02-13 00:31:49 +00:00
Laurent Rocher
303d286603 Update French translation 2021-02-13 00:09:59 +01:00
kay27
cbc5299bff Merge pull request 'Correct hoe repair material' (#1097) from midgard/MineClone2:hoe_repair into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1097
2021-02-12 21:34:53 +00:00
TechDudie
10d3c62690 Upload files to 'mods/ITEMS/mcl_core/textures' 2021-02-12 17:54:49 +00:00
TechDudie
a1e8685faf Delete 'mods/ITEMS/mcl_core/textures/mcl_core_emerald.png' 2021-02-12 17:53:21 +00:00
TechDudie
b2d53e9e39 Upload files to 'mods/ITEMS/mcl_core/textures' 2021-02-12 17:52:30 +00:00
TechDudie
1022449ace Delete 'mods/ITEMS/mcl_core/textures/default_diamond.png' 2021-02-12 17:51:23 +00:00
epCode
0bde0aabf6 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-02-12 09:25:23 -08:00
epCode
a9fe8d58e5 Add bow aiming animations 2021-02-12 09:16:08 -08:00
Midgard
f27fbd866e
Correct hoe repair material 2021-02-12 17:13:58 +01:00
Elias Fleckenstein
b2e2120b9e Fix shulkerbox model 2021-02-12 10:12:57 +01:00
MysticTempest
846b1d273d Fix the enchanting table book entity spawning multiple times as reported in issue #1008. 2021-02-11 19:25:54 -06:00
Elias Fleckenstein
735bfc88c4 Fix chests entities spawning multible times 2021-02-10 09:20:46 +01:00
epCode
cf95239fe5 Replace mcl_armor_character.b3d
Fix the player bone positioning while not swiming
2021-02-09 21:23:35 +00:00
epCode
7e2e96672b Remove mcl_armor_character.b3d 2021-02-09 21:22:28 +00:00
epCode
b749de4ced replace mcl_armor_character.blend 2021-02-09 21:21:51 +00:00
epCode
0fe02b5a69 Replace mcl_armor_character.blend 2021-02-09 21:20:43 +00:00
epCode
c5169e48a1 Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-06 17:50:27 -08:00
epCode
adbfd6b55d Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-06 17:40:24 -08:00
epCode
df8bdfbc36 Animations for swiming 2021-02-06 17:40:07 -08:00
kay27
84289a3a11 Tiny code cleanup and potentially bugfix after latest mergings 2021-02-07 02:56:00 +04:00
epCode
b5353c060f Merge branch 'master' into master 2021-02-06 19:35:13 +00:00
Elias Fleckenstein
88ed1aaa87 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-02-06 20:04:09 +01:00
Elias Fleckenstein
18dd3ac9bd Add 'ice' group 2021-02-03 17:08:04 +01:00
epCode
e0ad09900c Merge pull request 'master' (#5) from MineClone2/MineClone2:master into master
Reviewed-on: https://git.minetest.land/epCode/MineClone2/pulls/5
2021-02-02 22:19:58 +00:00
HimbeerserverDE
ee6d8451d2 Flame arrows ignite TNT 2021-02-01 08:15:28 +01:00
Elias Fleckenstein
b5d92f3078 Fix warning in mcl_beds 2021-01-31 14:04:11 +01:00
HimbeerserverDE
a654db7684 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-30 19:35:32 +01:00
kay27
b0f151147c Fix the trees, https://git.minetest.land/Wuzzy/MineClone2/issues/1031 2021-01-30 05:23:34 +04:00
kay27
948265fd6b Fix https://git.minetest.land/Wuzzy/MineClone2/issues/1028 - Make tree saplings grow in inactive areas (approx. time calc.) 2021-01-30 04:42:53 +04:00
Elias Fleckenstein
65219d34a2 Animated shulkerboxes 2021-01-28 20:53:57 +01:00
HimbeerserverDE
8ae233ba36 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-28 20:16:32 +01:00
HimbeerserverDE
000dd3cbc9 Only burning arrows set objects on fire 2021-01-28 20:16:26 +01:00
Elias Fleckenstein
e66d66caf9 Fix #399 2021-01-28 19:02:44 +01:00
Elias Fleckenstein
89ce072621 Sneak to dismount when in boat 2021-01-28 17:44:55 +01:00
HimbeerserverDE
a3ccb54376 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-27 20:13:16 +01:00
HimbeerserverDE
00df587bf7 Add flame enchantment 2021-01-27 20:11:02 +01:00
Elias Fleckenstein
dbd6ebd4b5 Fix #1014 2021-01-27 19:21:28 +01:00
Elias Fleckenstein
85f3fb7ea1 Fix #1005 2021-01-27 16:42:49 +01:00
Elias Fleckenstein
248272a128 Fix #1018 2021-01-27 16:01:04 +01:00
Elias Fleckenstein
5ede42bbe7 Fix #1020 2021-01-27 15:46:10 +01:00
Elias Fleckenstein
db3a31c2c4 Simplify chest animations 2021-01-27 15:45:23 +01:00
MysticTempest
9feee980f8 Add help text for enchanting table. 2021-01-27 01:41:23 -06:00
Elias Fleckenstein
e9f9d96eb1 Fix #1012 2021-01-26 17:42:45 +01:00
MysticTempest
cbd3a491f6 Add support for mcimported worlds by clearing out singlenode mapgen, and adding a toggleable fix for converted double_plants. 2021-01-25 20:23:38 -06:00
Elias Fleckenstein
9ce8c95f8c Fix bed not dropping when top part is dug 2021-01-24 18:54:17 +01:00
Elias Fleckenstein
745b7063a5 Move bed messages to HUD; Fix #1000 2021-01-24 18:40:29 +01:00
Elias Fleckenstein
fdfcf9ca70 Fix #1001 2021-01-24 16:29:24 +01:00
kay27
94840ec2ef Fix black chests, https://git.minetest.land/Wuzzy/MineClone2/issues/995 2021-01-23 00:43:46 +04:00
Elias Fleckenstein
291991c745 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-22 19:08:11 +01:00
Elias Fleckenstein
a92273b930 Gold apples give the player effects; Added Enchanted Golden Apples (Swiftnes & Leaping instead of Absorbtion and Resistance) 2021-01-22 19:08:01 +01:00
kay27
c9294a4d8a Fix https://git.minetest.land/Wuzzy/MineClone2/issues/996 Coordinate exploit in signs and chests, sent by @cora 2021-01-22 21:42:37 +04:00
MysticTempest
689e6edac2 Make 'mcl_burning' support other texture packs. 2021-01-22 03:07:21 -06:00
kay27
c4dce1df25 Fix already created End portals 2021-01-21 18:35:04 +04:00
kay27
1a2c500873 Restore missing 'died formspec' after player exploded being in the bed 2021-01-20 01:46:52 +04:00
Elias Fleckenstein
02305c914d Merge branch 'enchanted_books_creative' 2021-01-18 20:08:37 +01:00
Elias Fleckenstein
09ab1482b5 Merge branch 'animated_chests' 2021-01-18 19:55:48 +01:00
Elias Fleckenstein
427ac03a4d Fix #951 2021-01-17 13:21:09 +01:00
Elias Fleckenstein
bb0e5af6d0 Fix crash when attempting to create grass path with efficiency shovel 2021-01-17 12:39:11 +01:00
Elias Fleckenstein
4b61b3b4e5 #986 2021-01-17 12:29:25 +01:00
Elias Fleckenstein
6e6f994a43 Make dragon breath use the dragon breath texture 2021-01-17 12:07:49 +01:00
Elias Fleckenstein
fa9d4402c7 Fix doors dropping duplicate when blown up 2021-01-17 12:00:00 +01:00
Elias Fleckenstein
b54b6c4c97 Fix #987 2021-01-17 10:41:13 +01:00
kay27
5b44eeb611 Teach observer to detect TNT in realtime mode, fix crash in mcl_spawn on restart server in less than 30s in new world 2021-01-17 02:48:36 +04:00
kay27
5400cdba35 Fix blowing up a bed makes it drop twice, https://git.minetest.land/Wuzzy/MineClone2/issues/985 2021-01-16 22:50:29 +04:00
kay27
fe33f172d4 Add player-friendly respawn place search algorithm, fix https://git.minetest.land/Wuzzy/MineClone2/issues/515 https://git.minetest.land/Wuzzy/MineClone2/issues/972 https://git.minetest.land/Wuzzy/MineClone2/issues/981 2021-01-16 18:51:30 +04:00
Elias Fleckenstein
c4c3fc1c8c Fix Fire Aspect 2021-01-10 14:16:00 +01:00
Elias Fleckenstein
7a1e6246d6 Remove wield_image from all shovels 2021-01-08 14:40:02 +01:00
kay27
eef5f2cc5b Revert 2be8a550dc according to https://git.minetest.land/Wuzzy/MineClone2/issues/973 2021-01-08 14:36:50 +01:00
kay27
fd4ce3c688 Scale mcl_farming_pumpkin_face_preview.png 32x64 to 16x32 according to https://git.minetest.land/Wuzzy/MineClone2/issues/974 2021-01-08 14:30:11 +01:00
Elias Fleckenstein
2f1a918667 Fix thorns incompabilities 2021-01-06 19:41:11 +01:00
Elias Fleckenstein
9a31252c5d Fix sharpness and bane of arthopods being compatible 2021-01-06 19:04:04 +01:00
Elias Fleckenstein
7d4688b70c Fix enchanted items showing up in craftguide 2021-01-06 14:17:27 +01:00
Elias Fleckenstein
2be8a550dc Merge branch 'itemframe' 2021-01-06 14:05:09 +01:00
Elias Fleckenstein
aee607800e Merge branch 'large_chest_put' 2021-01-06 14:03:54 +01:00
Elias Fleckenstein
a49e3c9068 Fix #703 2021-01-06 13:39:19 +01:00
Elias Fleckenstein
3787b95e0f Fix #700 2021-01-06 13:01:27 +01:00
Elias Fleckenstein
034174390d Fix #801 2021-01-06 12:48:39 +01:00
Elias Fleckenstein
08a8b155d7 Fix #906 and #902 2021-01-06 12:43:09 +01:00
Elias Fleckenstein
823ff7e22e Fix #955 2021-01-05 20:36:50 +01:00
Elias Fleckenstein
c405242fa2 Fix #801 2021-01-05 19:52:57 +01:00
Elias Fleckenstein
e7721b91a0 Fix #959 2021-01-05 17:35:06 +01:00
Elias Fleckenstein
7bdce54048 Give credit for the enchanting sounds (Closes #921) 2021-01-05 17:27:38 +01:00
Elias Fleckenstein
96ca23419a Fix #944 2021-01-05 15:40:03 +01:00
Elias Fleckenstein
14551edcd2 Remove debugging message from last commit 2021-01-05 15:23:42 +01:00
Elias Fleckenstein
f253d49a8d Fix #901 2021-01-05 15:19:31 +01:00
Elias Fleckenstein
d88b548ddb Fix #917 2021-01-05 15:08:18 +01:00
Elias Fleckenstein
fcc485a8e3 Fix #904 2021-01-05 14:40:54 +01:00
Elias Fleckenstein
a0ffe92587 Merge branch 'master' into itemframe 2021-01-05 14:27:08 +01:00
Elias Fleckenstein
139a4d94d0 Merge branch 'master' into enchanted_books_creative 2021-01-05 14:25:56 +01:00
Elias Fleckenstein
90f1fde8c8 Merge branch 'master' into animated_chests 2021-01-05 14:25:20 +01:00
Elias Fleckenstein
49c70560a5 Fix #946 2021-01-05 14:13:33 +01:00
Elias Fleckenstein
37f256648b Fix enchanting book animation being weird sometimes 2021-01-05 12:40:29 +01:00
Elias Fleckenstein
ebc2ec9f72 Add missing enchanting sound 2021-01-05 12:37:15 +01:00
kay27
4d54766590 quick fix of https://git.minetest.land/Wuzzy/MineClone2/issues/954 2021-01-05 12:15:43 +01:00
kay27
c2a14e2eae Make glyph particles more close to MC and visible only for players in radius 15 2021-01-05 12:13:36 +01:00
Elias Fleckenstein
b0b23b7532 Call on_rightclick when clicking a node with fishing rod 2021-01-04 20:23:14 +01:00
Elias Fleckenstein
cfc86bcf3d Fix #952 and other occurences of get_player_velocity 2021-01-04 18:06:31 +01:00
Elias Fleckenstein
796c80b2d1 Merge branch 'fixes' into enchanted_books_creative 2021-01-04 17:59:41 +01:00
Elias Fleckenstein
0a482cc0cf Merge branch 'fixes' into itemframe 2021-01-04 17:58:54 +01:00
Elias Fleckenstein
a7c42306a7 Merge branch 'fixes' into animated_chests 2021-01-04 17:58:42 +01:00
Elias Fleckenstein
aea051fe37 Proper fire aspect damage 2021-01-04 17:53:49 +01:00
Elias Fleckenstein
378dca593e Always create chest entities 2021-01-04 17:16:48 +01:00
Elias Fleckenstein
17ff0c9be5 No static_save for chest entities 2021-01-04 17:14:51 +01:00
Elias Fleckenstein
de810cee81 Fix chest migration in general 2021-01-04 17:10:07 +01:00
Elias Fleckenstein
e26a644df0 Fix ender chest migration 2021-01-04 17:02:36 +01:00
Elias Fleckenstein
a4d7bd03e1 Change itemframe entity drawtype from wielditem to item 2021-01-04 16:19:14 +01:00
Elias Fleckenstein
7d1ce8bc07 Merge remote-tracking branch 'origin/master' into enchanted_books_creative 2021-01-04 14:23:39 +01:00
Elias Fleckenstein
9dc0d103a1 Merge branch 'fixes' into animated_chests 2021-01-04 14:22:27 +01:00
Elias Fleckenstein
269ebc2718 Fix Silk Touch drop of Top Snow 2021-01-04 13:34:57 +01:00
Elias Fleckenstein
5939baee52 Enchanted books in creative inventory 2021-01-04 13:02:55 +01:00
Elias Fleckenstein
ce4e86549b Enderchest Support 2021-01-04 11:26:07 +01:00
Elias Fleckenstein
c36dc16527 Fix #948 2021-01-04 10:15:28 +01:00
Elias Fleckenstein
abdb76c2a0 Fix #942 2021-01-04 10:09:44 +01:00
Elias Fleckenstein
41a364b319 Crack texture is now displayed 2021-01-03 20:08:53 +01:00
Elias Fleckenstein
0cfb60a826 Fix #941 2021-01-03 19:20:23 +01:00
Elias Fleckenstein
84cd8195c6 Fix invalid migration of small chests 2021-01-03 19:05:07 +01:00
Elias Fleckenstein
2d9ec679c0 Fix floating chest entity 2021-01-03 18:55:41 +01:00
Elias Fleckenstein
978aa38196 Trapped chests support 2021-01-03 18:52:24 +01:00
Elias Fleckenstein
ae59f9fd3c Inventory + Screwdriver support 2021-01-03 18:16:12 +01:00
Elias Fleckenstein
ea938237d5 Animated Chests 2021-01-03 14:21:35 +01:00
kay27
30379c823c Clean up some spaces in code after merging https://git.minetest.land/EliasFleckenstein03/MineClone2 2021-01-03 00:42:07 +04:00
Elias Fleckenstein
7d805ff789 Fix duplicate bookshelf positions 2021-01-02 12:28:38 +01:00
Elias Fleckenstein
64e510a730 Better bookshelf counting 2021-01-02 12:21:35 +01:00
Elias Fleckenstein
ab079d0c9b Fix missing enchantability of golden shovel 2021-01-02 12:11:16 +01:00
Elias Fleckenstein
939a73dd77 Remove Licenses from mcl_burning and mcl_enchanting 2021-01-02 11:18:18 +01:00
Elias Fleckenstein
883056bbc2 Fix #16 2021-01-02 11:15:32 +01:00
Elias Fleckenstein
84708c3870 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-02 10:58:02 +01:00
Elias Fleckenstein
fbd4a3a516 Fix burning sound keeping playing 2021-01-02 10:56:40 +01:00
kay27
d42ee00290 Fix piston owner metadata storage 2021-01-02 02:54:41 +04:00
Elias Fleckenstein
92bf864807 Fire Aspect 2021-01-01 19:51:31 +01:00
Elias Fleckenstein
071ba77bb0 mcl_burning fully working 2021-01-01 19:25:47 +01:00
kay27
5385a3f202 Fix piston protection check 2020-12-27 17:11:22 +04:00
Elias Fleckenstein
7545e29f58 Burning objects 2020-12-24 17:48:40 +01:00
Elias Fleckenstein
da7240d6c1 looting 2020-12-23 17:41:42 +01:00
Elias Fleckenstein
a7ff5be28b Luck of the Sea 2020-12-23 15:18:20 +01:00
MysticTempest
38f89fc963 Fix concrete powder mechanics. 2020-12-23 06:23:55 -06:00
Elias Fleckenstein
6ba3fc869c Make villagers sell enchanted stuff 2020-12-22 12:00:04 +01:00
Elias Fleckenstein
3161668d26 Color tweaks 2020-12-22 10:42:22 +01:00
Elias Fleckenstein
213f62ac06 Fix translations 2020-12-21 18:00:35 +01:00
Elias Fleckenstein
ef9a54872e Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-12-21 17:58:39 +01:00
Elias Fleckenstein
a4d9d22bb0 Mending 2020-12-21 15:12:24 +01:00
Wuzzy
b0dc0ecc9c Fix possible nil crashes in mcl_jukebox 2020-12-21 13:13:01 +01:00
epCode
f62a003163 More Minecraft-like breathing animation 2020-12-20 16:20:04 -08:00
epCode
c5412dd2a7 Added arm control bone 2020-12-20 14:42:21 -08:00
epCode
12564b573b Fine tune player sneaking animations 2020-12-20 14:12:33 -08:00
epCode
76e7b8f637 Player animation tweaks 2020-12-20 14:12:03 -08:00
Elias Fleckenstein
d820c35937 Fishing & Mineshaft loot 2020-12-20 17:33:24 +01:00
Elias Fleckenstein
b91b587876 Fix Lure 2020-12-20 16:32:04 +01:00
Wuzzy
fd53198c9a No enchant for shears 2020-12-19 16:29:55 +01:00
Wuzzy
39a0fdd24c No enchant 4 flint&steel,pumpkin,head,screwdriver 2020-12-19 16:26:12 +01:00
Wuzzy
821af93675 Translate mcl_experience,mcl_enchanting to de 2020-12-19 16:07:34 +01:00
Wuzzy
e22b766ffa Remove enchanted compass (caused a crash) 2020-12-19 15:32:32 +01:00
Elias Fleckenstein
4f18f77db0 Drop xp for empty furnaces too 2020-12-19 13:02:13 +01:00
Elias Fleckenstein
753be59d95 Fixed crash 2020-12-19 11:53:59 +01:00
Wuzzy
1f124476f2 Remove NC enchanting sound 2020-12-19 11:45:41 +01:00
epCode
acda2ba9bf Added sneaking animations 2020-12-18 16:28:28 -08:00
epCode
fec3085593 Added sneak animation entries 2020-12-18 16:27:37 -08:00
Elias Fleckenstein
1f0fc01d20 Store XP in furnaces instead of immediately dropping it 2020-12-18 19:03:08 +01:00
Elias Fleckenstein
66eb5c35da Fix enchanted book 2020-12-18 15:57:52 +01:00
Elias Fleckenstein
0477e729f5 Fixed crash 2020-12-17 18:58:07 +01:00
Elias Fleckenstein
19726241c3 Fixed lapis slot 2020-12-17 18:53:44 +01:00
Elias Fleckenstein
6c3588bad8 Rework inventory 2020-12-17 13:29:21 +01:00
Elias Fleckenstein
f1a4c493c8 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into enchanting 2020-12-17 11:23:59 +01:00
epCode
ef8d7b1e6a Added bone control for wielditem 2020-12-16 10:56:05 -08:00
epCode
20cc845940 Transforms wielditem relative to held item 2020-12-16 10:55:56 -08:00
kay27
8eed6eaf4e Slightly optimize fire ignition by lava and make it more MC-like 2020-12-15 00:27:20 +04:00
Wuzzy
e6d99b8b18 Respawn enchantbook ent when rightclick table 2020-12-14 19:15:40 +01:00
Wuzzy
73cb6b7a22 Don't save book entity statically to save space 2020-12-14 19:08:57 +01:00
Wuzzy
4be2f2f76d Fix more book entity spawn/despawn bugs 2020-12-14 18:53:34 +01:00
Wuzzy
e154919b34 Remove book ent. after destructing enchant table 2020-12-14 18:24:24 +01:00
Wuzzy
7d8c33c647 Some minor cleanup in mcl_enchanting 2020-12-14 14:27:20 +01:00
Wuzzy
70b078cdaf Move mcl_enchanting to ITEMS 2020-12-14 14:11:59 +01:00
kay27
5da02bb8cc Merge https://git.minetest.land/EliasFleckenstein03/MineClone2 2020-12-13 03:00:04 +04:00
Wuzzy
9324c43d8d Reduce grass sound volume 2020-12-08 16:56:27 +01:00
Wuzzy
63e8b8cb63 New bow+arrow sounds 2020-12-08 16:07:49 +01:00
Wuzzy
8e65876fdf Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-12-08 01:45:38 +01:00
kay27
a7c4d4ebd9 Fix obserber watch z coordinate in realtime mode 2020-12-08 00:57:15 +04:00
Wuzzy
ac782bac90 Remove unused mesecons_lever.ogg 2020-12-07 05:10:13 +01:00
Wuzzy
8dae3e3460 New button and lever sounds 2020-12-07 04:59:10 +01:00
Wuzzy
5bd3ebda17 Add throwing sound 2020-12-07 00:02:32 +01:00
kay27
827d7ec538 Fix attempt to index local 'pos' at ITEMS/mcl_portals/portal_nether.lua:728 2020-12-06 22:45:44 +04:00
Wuzzy
b163d17a53 Add shears cut sound 2020-12-06 01:21:02 +01:00
Wuzzy
52681658ef Add epic end portal open sound 2020-12-06 00:27:10 +01:00
Wuzzy
356977531e Remove all traces of all_pull_sticky 2020-12-03 14:21:25 +01:00
Wuzzy
8dddfe17db Fix kelp dropping always 1 item only 2020-12-03 14:19:37 +01:00
Wuzzy
257d7803a4 Can place kelp also in downwards-flowing water 2020-12-03 14:01:27 +01:00
Wuzzy
51fea93905 Fix all_pull_sticky for real 2020-12-03 13:16:12 +01:00
Wuzzy
2638d91785 Fix arrow hit being heard globally 2020-12-03 12:59:57 +01:00
Wuzzy
7e8c3aebd5 mesecons_mvps: Fix missing all_pull_sticky arg 2020-12-03 12:52:02 +01:00
Wuzzy
d60a0a0949 Fix ice melt not cause surrounding nodes to update 2020-12-03 12:36:58 +01:00
kay27
2958d96967 Fix Russian translation 2020-11-26 23:34:56 +04:00
Elias Fleckenstein
ed738da016 Added Enchanting Table 2020-11-25 12:47:27 +01:00
Laurent Rocher
af26f18bd6 Complete French Translation 2020-11-18 23:06:47 +01:00
Laurent Rocher
9010cf514d Fix some template.txt files (missing final = of some entries) 2020-11-18 23:05:07 +01:00
kay27
2b1d21a5b5 Merge branch 'kay27_mechanics' as a squash 2020-11-14 01:59:03 +04:00
Elias Fleckenstein
a3cf6b0e5d Blast Protection; Fire Protection; Projectile Protection; Feather Falling; Thorns 2020-11-13 12:21:36 +01:00
Elias Fleckenstein
b53ae0df19 Fix armor runtime error 2020-11-13 09:44:42 +01:00
Wuzzy
bd2d0f717a Sugarcane: No place inside liquid 2020-11-12 21:12:25 +01:00
Wuzzy
9365493696 Fix fire resistance bad protect against magmablock 2020-11-12 16:43:12 +01:00
Wuzzy
124274053d Effect: Bigger init timer 2020-11-12 16:28:52 +01:00
Wuzzy
c3861bad85 Fix effect icons not initing correctly after join 2020-11-12 16:25:17 +01:00
Wuzzy
c5a27ee47a Add status effect icons 2020-11-12 15:46:57 +01:00
Wuzzy
51085fd6b8 Enlarge sleep message area 2020-11-12 13:21:26 +01:00
Wuzzy
271cdbcf03 Fix untranslated nether lava death msgs 2020-11-12 12:23:38 +01:00
Wuzzy
d952c79cb7 Slower nether portal anim 2020-11-12 12:01:16 +01:00
Wuzzy
41af1eddba Reset pointing range limit for bow 2020-11-12 11:47:42 +01:00
Wuzzy
8512b7c2e0 Fix swords being too big in itemframe 2020-11-12 11:14:37 +01:00
Wuzzy
daff07269a Itemframes: Change dummy texture to blank.png 2020-11-12 10:40:14 +01:00
Wuzzy
132db02011 Sugarcane less strict w/ water check on place 2020-11-11 21:00:37 +01:00
Elias Fleckenstein
b9e5a991e2 Protection 2020-11-10 13:58:39 +01:00
Elias Fleckenstein
3d7bb69e81 Bane of Arthropods; Smite; Lure 2020-11-09 18:59:08 +01:00
Wuzzy
c7a4f7cbfb Fix brewstand not showing up in craftguide 2020-11-07 01:11:42 +01:00
Elias Fleckenstein
494ffb41d3 Punch 2020-11-06 15:05:31 +01:00
Elias Fleckenstein
86b2cd70f9 Fortune 2020-11-06 13:46:52 +01:00
Elias Fleckenstein
bbc6db489e Power 2020-11-05 15:25:44 +01:00
Elias Fleckenstein
2b55dac7d2 Fixed Curse of Binding bypass in rightclick handler 2020-11-04 11:29:44 +01:00
Elias Fleckenstein
7c28bf8507 Silk Touch 2020-11-02 19:09:23 +01:00
Elias Fleckenstein
b89ffb12f2 Unbreaking for fishing rods 2020-11-02 17:38:51 +01:00
Elias Fleckenstein
22083a0ff5 Armor textures support 2020-11-02 17:22:03 +01:00
Elias Fleckenstein
afa11c0723 Unbreaking for armor 2020-11-02 15:33:05 +01:00
Elias Fleckenstein
a516eccd6d Unbreaking for Bows 2020-11-02 15:09:11 +01:00
Elias Fleckenstein
e09ecb5431 Enchanted Books; Fishing Rod Support; Curse of Binding 2020-11-01 17:24:57 +01:00
Elias Fleckenstein
3791f8983e Combine tools in anvil 2020-11-01 15:15:44 +01:00
Elias Fleckenstein
3fd1963da9 Compass support 2020-11-01 14:23:43 +01:00
Elias Fleckenstein
26f3d821a4 Proper anvil naming support 2020-11-01 13:44:05 +01:00
Elias Fleckenstein
76303ae194 Working Infinity Enchantment 2020-10-27 20:02:46 +01:00
Elias Fleckenstein
a76fb8dd57 Added tt support, made enchanted bows function properly 2020-10-27 19:53:49 +01:00
Elias Fleckenstein
1cef707c6c /enchant working 2020-10-27 18:19:49 +01:00
Elias Fleckenstein
64e62486e2 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-10-27 16:37:40 +01:00
Elias Fleckenstein
8ef39f405f Merge branch 'enchanting' of https://git.minetest.land/Wuzzy/MineClone2 2020-10-27 16:37:33 +01:00
Elias Fleckenstein
79b624bc5c First Steps 2020-10-27 16:37:25 +01:00
kay27
1965696829 Merge kay27_textures branch: more recongizable obsidian texture; better NP texture; Nether particles 2020-10-24 21:49:11 +04:00
Wuzzy
a4c2211d87 Merge branch 'enchanting' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-10-24 11:38:16 +02:00
kay27
30d9e54803 Implement leftovers of https://git.minetest.land/Wuzzy/MineClone2/issues/841#issuecomment-11440 2020-10-24 02:46:45 +04:00
Wuzzy
6706104c3a Remove enchantment table 2020-10-23 23:00:54 +02:00
Wuzzy
280f284867 Merge branch 'enchanting' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-10-23 22:32:35 +02:00
Wuzzy
d2518c91e8 Tweak German End crystal translation 2020-10-23 22:01:59 +02:00
Wuzzy
4c39224e6f Merge https://git.minetest.land/EliasFleckenstein03/MineClone2 into master 2020-10-23 21:53:42 +02:00
kay27
dbe631409c Update mcl_portals_ru.tr 2020-10-19 16:55:05 +04:00
kay27
a127136c60 Add Enchanting from Crafter-minetest by Oil_boi 2020-10-19 16:38:21 +04:00