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
kay27
9c5af40589
Add mcl_bubble_column by j45, extra_mobs by epCode, mcl_mushroom & mcl_blackstone by Debiankaios, mcl_nether_gold by NO11
2021-03-30 23:23:31 +00: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