SumianVoice
c626c977d1
Update api.lua
2022-07-22 03:27:41 +02:00
cora
e1130a105f
fix wrong sound position
2022-07-21 12:03:46 +02:00
SumianVoice
a35ec2e994
Merge branch 'master' into add_shadow_on_dirt
2022-07-21 10:02:17 +00:00
Sumyjkl
cf8bbfef7b
add similar shading to podzol, change to overlay for adding shading to grass
2022-07-21 19:53:39 +10:00
MysticTempest
2fd9e2ad53
Implement slimeblock piston launchers:
...
Adds the mechanic of launching entities standing on, or in
front of slimeblocks; which are attached to, and pushed by pistons.
2022-07-21 02:30:30 -05:00
Sumyjkl
16d65d25f2
added exact replica shading to grass block
2022-07-21 00:47:01 +10:00
Sumyjkl
f214e2c1ad
make snow dirt shadow less intense
2022-07-20 22:37:14 +10:00
Sumyjkl
f9602c3ebb
add shadow under grass and snow texture
2022-07-20 22:32:22 +10:00
cora
54337e9854
never show nitwit trading formspec
2022-07-19 11:46:28 +02:00
cora
37114e7d1a
Add API documentation
2022-07-19 11:15:08 +02:00
cora
ac45ed8a0a
coord and biome use api too, fields well ordered
2022-07-19 11:15:08 +02:00
cora
7e6daa0e60
Add api to register custom debug fields
...
also add node info as first fields
2022-07-19 11:15:08 +02:00
cora
39b9a058e9
Save persistent setting in player meta
2022-07-19 11:15:08 +02:00
cora
00ef88e01c
fix mistakes from mcl5 import, clean up output
2022-07-19 11:15:08 +02:00
kay27
d5b2e60e32
#278 Rename default_dbg to default_debug
2022-07-19 11:15:08 +02:00
kay27
cb2852e88f
#233 Add /debug chat command
2022-07-19 11:15:08 +02:00
kay27
47719872e4
[hud] Show player biome and position
2022-07-19 11:15:08 +02:00
SumianVoice
d54d8fc657
Merge branch 'master' into swimming_fix
2022-07-19 02:32:19 +00:00
cora
d89ef0581f
Optimize ABMs
2022-07-18 22:28:02 +02:00
cora
0298cecbcd
change dripping entities to particles
2022-07-18 22:28:02 +02:00
cora
da4aa9bc35
improve crying obsidian visuals
2022-07-18 22:21:58 +02:00
SumianVoice
1e41f403d3
Merge branch 'master' into swimming_fix
2022-07-18 05:03:46 +00:00
cora
a3596d22e3
Fix nether dust particles using wrong setting
2022-07-18 05:30:37 +02:00
cora
68d45ff606
Remove MushroomIsland from several mobs spawn list
2022-07-18 02:11:48 +02:00
cora
bf756403a3
Fix animals attacking players for no reason
2022-07-18 00:10:23 +00:00
cora
99037cb0ec
adapt several mob spawning conditions to mc
2022-07-18 00:10:23 +00:00
cora
1087d9e54b
Implement mc like mob cap
2022-07-18 00:10:23 +00:00
cora
2d3f4531c9
Add mob spawning debug command
2022-07-18 00:10:23 +00:00
cora
987ae3c6e8
Fix mobs spawning inside nodes
2022-07-18 00:10:23 +00:00
cora
3a32e4e4e9
Never spawn mobs on bedrock
2022-07-18 00:10:23 +00:00
cora
9883a37754
Enable group spawning for all mobs, add mc values
2022-07-18 00:10:23 +00:00
cora
a68343b71d
Add group spawning minimum attribute
2022-07-18 00:10:23 +00:00
cora
a077e4535f
Fix non-monsters being unable to attack
...
A check in the relevant function excluded all non-monsters from
looking for targets to attack. This removes that check and relies
on the passive attribute of the entity
2022-07-18 00:10:23 +00:00
SumianVoice
194d8525c4
Merge branch 'master' into swimming_fix
2022-07-18 00:09:47 +00:00
SumianVoice
de0a78012d
fix getting stuck under non-opaque blocks
2022-07-18 10:09:04 +10:00
cora
a49e66dbd3
Detection radius is 20 according to the wiki
2022-07-17 23:42:34 +02:00
cora
e9ad2cfe11
Make parrots imitate nearby mobs
2022-07-17 23:34:39 +02:00
SumianVoice
0158681cf8
Merge branch 'master' into swimming_fix
2022-07-17 13:15:18 +00:00
Sumyjkl
9062a6e22e
add node_head_top to check to make sure you won't clip through blocks before going out of swim / fly mode
2022-07-17 23:14:24 +10:00
Sumyjkl
a41cbb7ebf
added comment and removed unnecessary code
2022-07-17 22:50:22 +10:00
Sumyjkl
4738834ddd
remove unecessary code
2022-07-17 22:40:33 +10:00
Sumyjkl
2e06e22d70
removed unnecessary node_above_head variable
2022-07-17 21:50:22 +10:00
Sumyjkl
e4c7d575fc
take no damage when swimming near roof, no ability to no-clip through roof when swimming
2022-07-17 21:46:36 +10:00
cora
0b157c953f
fix wrong argument to sound_play
2022-07-16 12:12:28 +00:00
cora
bf23c61e34
skip damage completely when player & pvp disabled
2022-07-16 12:12:28 +00:00
cora
77d834ac5e
Add PVP check to tipped arrows
2022-07-16 12:12:28 +00:00
cora
b7f8a75d04
Add PVP check for rocket arrows
2022-07-16 12:12:28 +00:00
GNU Hacker
454d7e8b04
arrow check if pvp is enable
2022-07-16 12:12:28 +00:00
cora
8ff559d4ad
Add ancient debris as normal ore
2022-07-16 02:07:17 +02:00
Ale
27482ede7f
update locale es
2022-07-15 22:55:03 +00:00
cora
ee9cc5341b
Fix villager crash when opening iron doors
2022-07-15 22:11:07 +00:00
cora
aab3180269
clear empty nametag as well as nil
2022-07-15 04:40:12 +02:00
cora
e271e87aca
fix indentation
2022-07-14 17:32:43 +02:00
cora
dae4a99a85
Add soul lantern recipe
2022-07-14 15:39:37 +02:00
cora
455fac9350
Add schematics by RandomLegoBrick and PrarieWind
2022-07-14 13:51:46 +02:00
cora
8cad4a6886
Add ruined portals
2022-07-14 13:38:20 +02:00
cora
931cb2b991
Add fallen tree logs
2022-07-14 06:59:47 +02:00
cora
9e60d24fe0
Never spawn mobs on leaves
2022-07-13 16:45:41 +02:00
cora
8d9c5059f3
Fix wither dupe
...
faulty on_place would not removed placed wither skelly head from
inv. This also prevents the execution of the schematic checking
routine if there is no soul sand under the head.
2022-07-12 23:11:00 +02:00
cora
2b835221a7
Make them spawn at (somewhat) random positions
2022-07-12 01:30:41 +02:00
cora
571c57e891
Add updated woodland outpost schematic
2022-07-12 00:44:39 +02:00
cora
33739dc5af
Woodland cabin mob spawning
2022-07-12 00:32:53 +02:00
cora
c1686923d3
Fix crash when no group spawning positions found
2022-07-11 22:31:35 +02:00
cora
489db73dca
Merge pull request 'Mud fixes' ( #2413 ) from TheRandomLegoBrick/MineClone2:mud_fixes into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2413
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-07-11 20:31:01 +00:00
TheRandomLegoBrick
408c72e4bf
Mud fixes
2022-07-11 08:24:42 -07:00
NO11
a16613f31c
Fix #2336 (interaction bug when opening chests)
2022-07-11 09:14:14 +00:00
MysticTempest
484ad2b630
Replace all melon/pumpkin stems in woodland_cabins with unconnected variants.
2022-07-09 19:35:51 -05:00
cora
4a4636523e
Add new mobs to translation template.
2022-07-09 22:14:37 +02:00
cora
e9b72083b3
Fix translator modnames
2022-07-09 02:30:48 +02:00
cora
aed96a4912
Add original dolphin texture
...
cc0 by cora
2022-07-09 02:30:48 +02:00
cora
f202ed8327
spawn in groups
2022-07-09 02:30:48 +02:00
cora
44abef44e1
Make fish buckets work with water mobs
2022-07-09 02:30:48 +02:00
PrairieAstronomer
88cdc9baf3
Add Fish Buckets
2022-07-09 02:30:48 +02:00
PrairieAstronomer
27ea6087c7
Tactical Fishing Advancement
2022-07-09 02:30:48 +02:00
cora
ae0eb85ffc
Add salmon, cod and dolphin from mcl5
2022-07-09 02:30:48 +02:00
RandomLegoBrick
5ceffe1a3c
Merge branch 'master' into mud
2022-07-08 22:42:38 +00:00
cora
de9056ae62
Fix child mobs collision boxes
2022-07-08 23:57:02 +02:00
cora
08a1ecd879
Don't take extra bread when feeding
2022-07-08 23:57:02 +02:00
cora
bcb76f7bd2
correctly lock job when traded
2022-07-08 23:57:02 +02:00
cora
8fe40fcd26
remove old debug line
2022-07-08 23:57:02 +02:00
cora
98c48dab8c
abolish child labor
2022-07-08 23:57:02 +02:00
RandomLegoBrick
31e53ceff0
Merge branch 'master' into mud
2022-07-08 17:33:10 +00:00
TheRandomLegoBrick
05186c9a19
Non-copyright-infringey mud texture
2022-07-08 10:31:38 -07:00
TheRandomLegoBrick
dfd16d1110
Add license
2022-07-08 10:02:06 -07:00
TheRandomLegoBrick
c26a9aded5
Add mud sounds
2022-07-08 09:18:42 -07:00
PrairieAstronomer
0ecffaf472
Added README.md file to mcl_campfires
2022-07-08 02:37:20 +02:00
cora
3c2633ee2c
Simplify my own mess... remove code dupe
...
i'll fix this in cauldrons too, promise
2022-07-08 02:37:20 +02:00
PrairieAstronomer
f0241bbf6a
Added extinghuishing sound when extenguished with a shovel.
2022-07-08 02:37:20 +02:00
PrairieAstronomer
67494f8905
Added Burning Players and Entities to Campfires.
2022-07-08 02:37:20 +02:00
PrairieAstronomer
e9fe5c1377
Fixed Crafting Recipes
2022-07-08 02:37:20 +02:00
PrairieAstronomer
5de3c7977c
Campfire Inventory Textures by RandomLegoBrick
2022-07-08 02:37:20 +02:00
PrairieAstronomer
465d91036f
Added Campfire to Fisherman Villager Trades
2022-07-08 02:37:20 +02:00
PrairieAstronomer
3786c46b30
(Soul) Campfires
...
Adds soul and nomal campfires. Code start and models from issue 505. Textures are all PixelPerfection.
2022-07-08 02:37:20 +02:00
PrairieAstronomer
f141427dfe
Added README.md File with Media License
2022-07-08 00:09:39 +00:00
PrairieAstronomer
41be8a5a85
Stonecutter Texturs, by RandomLegoBrick
2022-07-08 00:09:39 +00:00
PrairieAstronomer
d9a25552d8
Stone Cutter
...
Adds the stonecutter block.
2022-07-08 00:09:39 +00:00
TheRandomLegoBrick
cbe0f80d68
Move redundant water bottle code to functions
2022-07-07 16:50:51 -07:00
TheRandomLegoBrick
06f8688f26
Improve mud bricks and packed mud textures
2022-07-07 15:16:43 -07:00
TheRandomLegoBrick
f3dd3e92fa
Add various mud brick blocks
2022-07-07 11:54:36 -07:00
TheRandomLegoBrick
4f1960d6ef
Fix mod.conf
2022-07-07 08:29:32 -07:00
TheRandomLegoBrick
0414493f5c
Fix hardness and blast resistance for packed mud
2022-07-06 20:27:13 -07:00
TheRandomLegoBrick
be1427205e
Move progress to separate mod and add packed mud
2022-07-06 13:14:29 -07:00
TheRandomLegoBrick
0142b58edc
Allow dispensers to convert dirt to mud
2022-07-06 12:43:54 -07:00
TheRandomLegoBrick
973dc7fa41
Add mud
2022-07-06 12:14:21 -07:00
TheRandomLegoBrick
24ab7ff825
Add mud block
2022-07-06 11:33:25 -07:00
cora
f98242bb0c
Do not emerge while making railcorridors
...
it turns out to work fine without
2022-07-06 01:43:21 +02:00
cora
31289f5686
villagers that haven't traded loose job on js gone
2022-07-05 23:47:30 +02:00
cora
672b9dbedf
make pathfinding to jobsite more smooth
2022-07-05 23:47:30 +02:00
cora
dd5e9afbd9
villagers only get a job when they touch jobsite
2022-07-05 23:47:30 +02:00
cora
21d5ab88a5
comment out natural villager spawning
2022-07-05 23:47:30 +02:00
PrairieWind
dc75a4d854
Merge pull request 'Fix loom and fletching table textures' ( #2383 ) from MrRar/MineClone2:loom into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2383
Reviewed-by: PrairieWind <prairie.astronomer1@gmail.com>
2022-07-05 18:59:59 +00:00
Johannes Fritz
236c1ce760
Fletching table: add missing bottom texture
2022-07-05 13:26:53 -05:00
cora
efad7dad24
clean up
2022-07-05 11:19:47 +02:00
cora
27a945b8f3
Tweak crying obsidian particles
2022-07-05 11:19:47 +02:00
cora
daa95e3688
replace dirt and gravel too for even less clumps
2022-07-05 00:12:23 +02:00
cora
889e72c50d
don't dig amethyst by water
2022-07-05 00:12:23 +02:00
cora
ea99341f94
make geode inside smoother
2022-07-05 00:12:23 +02:00
cora
4b95185fba
make geodes less cube shaped (sometimes)
2022-07-05 00:12:23 +02:00
cora
3584d89028
better distribution
2022-07-04 23:07:51 +02:00
cora
40d0c1affb
slightly optimize placement
2022-07-04 23:07:51 +02:00
cora
0a2e68d136
spawn carts, make mineshafts a bit less frequent
2022-07-04 23:07:51 +02:00
cora
9f66c9f673
let railcorridors be placed by new api
...
this makes it a lot faster
2022-07-04 23:07:51 +02:00
cora
a92b405efd
Comment out unused cart-checking hackery
2022-07-04 23:07:51 +02:00
cora
db4f2baafc
Tweak tsm_railcorridors for faster mapgen
...
This just does 5 instead of 10 attempts to spawn a corridor in a
chunk. There still appear to be plenty corridors and it makes
mapgen noticeably faster.
2022-07-04 23:07:51 +02:00
cora
d6306d78b8
Merge pull request 'Spawn corals only at -10 and lower' ( #2393 ) from deeper_corals into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2393
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-07-04 21:06:33 +00:00
cora
0e6250b2a3
Fix rabbit spawning biomes
2022-07-04 12:50:48 +02:00
cora
c66cb834a2
spawn corals only at -10 and lower
...
to prevent corals in rivers
2022-07-04 02:13:54 +02:00
cora
bc2e61921f
do not spawn polar bears in extremehills+_snowtop
2022-07-04 01:46:41 +02:00
cora
b1c97a0510
prevent ground squids, variable spawn height
2022-07-04 01:41:45 +02:00
Johannes Fritz
e22d543d80
Fix loom and fletching table textures
2022-07-03 10:53:00 -05:00
MysticTempest
677110e39f
Disable the despawn timer catchup for items that were unloaded.
2022-07-03 04:28:43 -05:00
PrairieAstronomer
9c3a4f3436
Updated the Advancements translation template...again
2022-07-01 14:54:44 -06:00
PrairieAstronomer
1abeccfaab
Enchanter Advancement
2022-07-01 14:50:56 -06:00
PrairieAstronomer
2845cd79b7
Local Brewery Advancement
2022-07-01 14:37:02 -06:00
PrairieAstronomer
4bfadffadc
Fixed Minor Formating in Advancement Definitions
2022-07-01 14:04:33 -06:00
PrairieAstronomer
f998f3bc05
Updated Advancements Translation Template
2022-07-01 13:56:44 -06:00
PrairieAstronomer
acff3e525c
Changed the Into the Nether achievement to the We Need to Go Deeper Advancement
2022-07-01 13:45:07 -06:00
PrairieAstronomer
6757b8f900
The Nether Advancement
2022-07-01 13:41:21 -06:00
PrairieAstronomer
8f7ac1e5a2
Not Quite 'Nine' Lives Advancement
2022-07-01 13:11:26 -06:00
PrairieAstronomer
40a421ddd0
Hidden in the Depths Advancement
2022-07-01 12:41:01 -06:00
PrairieAstronomer
687bc04560
Who is Cutting Onions? Advancement
2022-07-01 12:39:10 -06:00
cora
6ad00e4170
emerge before geode and surface pool placement
...
otherwise they can be cut off
2022-07-01 14:43:03 +02:00
cora
ef14006f15
Fix surface pools & desert temple loot
2022-07-01 14:30:02 +02:00
cora
c59a890963
add woodland cabin loot
2022-07-01 06:11:10 +02:00
cora
ac69b7c710
Add woodland cabin and outpost
2022-07-01 04:26:41 +02:00
cora
f115fc8ea0
tweak probabilities
2022-07-01 02:05:48 +02:00
cora
8684140740
log actual placement position
2022-07-01 02:05:48 +02:00
cora
be2a8d7054
Structure transfer fixes
2022-07-01 02:05:48 +02:00
cora
f5cc0ef2dc
Move shipwrecks to mcl_structures
2022-07-01 02:05:48 +02:00
cora
7945de1324
igloo fixes, mobspawns, move geode to mcl_structs
2022-07-01 02:05:48 +02:00
cora
a09226c370
fossil & igloo -> new api
2022-07-01 02:05:48 +02:00
cora
3ca6d4de3b
fix chunk probability and distributions
2022-07-01 02:05:48 +02:00
cora
7f8a366a7b
make geodes slightly larger, fix positioning
2022-07-01 02:05:48 +02:00
cora
607511518f
fix warning
2022-07-01 02:05:48 +02:00
cora
14cd360214
witch hut, boulders, ice-spikes -> new api
2022-07-01 02:05:48 +02:00
cora
dfbb832f96
Terrain feature fixes
2022-07-01 02:05:48 +02:00
cora
063e17bc0a
make schematic selection deterministic
2022-07-01 02:05:48 +02:00
cora
befe493ff0
Add warm ocean ruins
2022-07-01 02:05:48 +02:00
cora
fcb8160a60
Add loot generation to api
2022-07-01 02:05:48 +02:00
cora
065767cc77
Add Ocean Ruins - schematics by PrarieWind
2022-07-01 02:05:48 +02:00
cora
47eca3f774
fix callbacks
2022-07-01 02:05:48 +02:00
cora
b396a3c6ee
update API.md
2022-07-01 02:05:48 +02:00
cora
9381657f5d
use new struct api for desert well and temples
2022-07-01 02:05:48 +02:00
cora
e37358d220
Add make_foundation option
...
test by /spawnstruct nether_outpost without being on complete
(covering the sidelen) solid ground
2022-07-01 02:05:48 +02:00
cora
d8697cb59c
Tweak basalt delta code
2022-07-01 02:05:48 +02:00
cora
0b3a4c18d7
structure-api: add check for solid ground
2022-07-01 02:05:48 +02:00
cora
8e976d9191
Do not log generation of terrain features
...
this leads to excessive io otherwise
2022-07-01 02:05:48 +02:00
cora
fed81932e2
structs: use mcl_register_generator, cave decos
2022-07-01 02:05:48 +02:00
cora
eb8db0dc0b
optimize terrain features
2022-07-01 02:05:48 +02:00
cora
69dac8ded4
fix surface pools y offset
2022-07-01 02:05:48 +02:00
cora
c1bd8f4204
smithing table bottom texture by @RandomLegoBrick
2022-06-30 21:48:29 +02:00
cora
be8692daab
Add smithing table textures by @RandomLegoBrick
2022-06-30 14:11:13 +02:00
cora
c9dadc0bc7
correct tile order in smithing table item def
2022-06-30 14:11:13 +02:00
PrairieAstronomer
145d183998
Added Armor (Un)Eqip Sound Definitions
2022-06-30 14:11:13 +02:00
PrairieAstronomer
074f1df354
Added Formspec Image to Smithing Table and Fixed some whitespace issues.
2022-06-30 14:11:13 +02:00
PrairieAstronomer
6543d819da
Fixed some quote formating issues
2022-06-30 14:11:13 +02:00
cora
b8fc1c03b3
check for _upgradable instead of diamond
2022-06-30 14:11:13 +02:00
PrairieAstronomer
1fc79ffb61
Added pixelperfection netheriteblock texture
2022-06-30 14:11:13 +02:00
PrairieAstronomer
ed2fc6601e
Added Smithing Table to Toolsmith Villager Jobsite
2022-06-30 14:11:13 +02:00
cora
7136e54615
make armor upgrade slightly more flexible
2022-06-30 14:11:13 +02:00
PrairieAstronomer
d86be83b2b
Fixed the lodestone crafting to use the netherite ingot.
2022-06-30 14:11:13 +02:00
cora
352a52e086
fix indentation
2022-06-30 14:11:13 +02:00
cora
909aa71dd3
keep _mcl_upgrade_item as nil for non diamond armor
2022-06-30 14:11:13 +02:00
cora
c05e1b5f45
make diamond armor upgradable to netherite
2022-06-30 14:11:13 +02:00
PrairieAstronomer
79c014f356
Serious Dedication Advancement
2022-06-30 14:11:13 +02:00
Code-Sploit
7f340b7e2a
Add forgotten textures for netherite ingot, scrap and ancient debris
2022-06-30 14:11:13 +02:00
NO11
e0c5f2f7fa
Fix ancient debris duplication glitch (remove fortune drop)
2022-06-30 14:11:13 +02:00
Code-Sploit
10ea6da4e8
Add all pixel-perfection textures for netherite
2022-06-30 14:11:13 +02:00
Code-Sploit
1283967132
Add crafting recipe for netheriteblock & make netheriteblock convertable to ingots.
2022-06-30 14:11:13 +02:00
Code-Sploit
dc2a74140e
Add correct speeds for netherite shovel, pickaxe and axe
2022-06-30 14:11:13 +02:00
Code-Sploit
bbf63cf66b
Add netheriteblock
2022-06-30 14:11:13 +02:00
Code-Sploit
688d1e3f7e
Add correct durability for netherite sword
2022-06-30 14:11:13 +02:00
Code-Sploit
e8cedbc553
Remove unnessacary comments in mcl_smithing_table/init.lua
2022-06-30 14:11:13 +02:00
Code-Sploit
af2a4b1de0
Add crafting recipe for smithing table
2022-06-30 14:11:12 +02:00
Code-Sploit
8080932353
Fix not able to put diamond tools in the smithing_table
2022-06-30 14:11:12 +02:00
Code-Sploit
3b2a34c670
Add first try of code for smithing table (Thanks to Fleckenstein), add _mcl_upgradable and _mcl_upgrade_item to every diamond tool/armor piece
2022-06-30 14:11:12 +02:00
Code-Sploit
aee4d15a57
Fix crash in netherite hoe by adding netherite to uses{}
2022-06-30 14:11:12 +02:00
Code-Sploit
9b25567274
Add netherite hoe texture
2022-06-30 14:11:12 +02:00
Code-Sploit
f2375abc47
Add netherite tools
2022-06-30 14:11:12 +02:00
Code-Sploit
9c0e9964a6
Add smithing table W.I.P
2022-06-30 14:11:12 +02:00
Code-Sploit
338114aecc
Add: Netherite scrap, Netherite ingot. Add crafting recipe for netherite ingot.
2022-06-30 14:11:12 +02:00
Code-Sploit
8ee792e965
Add correct textures for netherite armor
2022-06-30 14:11:12 +02:00
Code-Sploit
3f30251f26
Add second part of netherite armor textures
2022-06-30 14:11:12 +02:00
Code-Sploit
57ebfbfb56
Add first part of netherite armor textures
2022-06-30 14:11:12 +02:00
Code-Sploit
f0f52713f7
Add code for netherite armor
2022-06-30 14:11:12 +02:00
Code-Sploit
92992cb44e
Add ancient debris
2022-06-30 14:11:12 +02:00
cora
817fb83ba6
Fix Anvil stacking dupe II
...
This guarantees that the anvil logic never overstacks the output slot
2022-06-30 14:03:55 +02:00
cora
ce2531a488
Add correct respawn anchor recipe
2022-06-30 14:00:55 +02:00
cora
78e187537f
Add crying obsidian particle effect
2022-06-30 01:43:49 +02:00
kay27
9d8ff427f3
Add crying obsidian
2022-06-30 01:43:22 +02:00
TheRandomLegoBrick
f1e5790308
Update textures for nautilus shell and heart of the sea
2022-06-27 10:17:33 -07:00
cora
d9e40d5223
set profession first in on_spawn
2022-06-26 11:20:20 +02:00
cora
86651e7557
Fix zombie villager curing (crash)
2022-06-26 11:20:20 +02:00
PrairieAstronomer
94e7c4c85b
Nautilus Shell Texture, by RandomLegoBrick
2022-06-25 16:54:19 -06:00
PrairieAstronomer
52bb8c6401
Heart of the Sea Textures by RandomLegoBrick
2022-06-25 16:47:48 -06:00
PrairieAstronomer
29329c4aac
Heart of the Sea Item. Item Texture by RandomLegoBrick.
2022-06-25 16:41:32 -06:00
PrairieAstronomer
2e0fa714ed
Nautilus Shell Item. Shell Texture by RandomLegoBrick.
2022-06-25 15:42:52 -06:00
MysticTempest
e3abe72522
Fix healing speed, and saturation usage again; to be more accurate.
2022-06-25 01:41:10 -05:00
MysticTempest
a6e2c94028
Tweak hunger/health mechanics:
...
Ensure hunger is always ticking away, and ensure that health regen
is quicker when hunger bar is full.
And, tweak saturation to partially use up hunger to heal; instead
of healing on top of hunger.
2022-06-24 05:38:26 -05:00
cora
2b87958678
add all sizes of sea pickles not just 1
2022-06-23 17:18:01 +02:00
cora
f883b45809
Add coral reefs
2022-06-23 15:06:56 +02:00
cora
ca6cf81e24
set objects on fire when in lava cauldron
2022-06-22 12:40:16 +02:00
cora
1401f398ae
globalstep instead of abm to extinguish objects
2022-06-21 14:24:15 +02:00
cora
3a7022ab66
Clean up buckets and cauldrons a little bit
2022-06-21 13:53:08 +02:00
cora
685cba6821
Allow placing lava into cauldrons
2022-06-21 13:44:52 +02:00
cora
7a8d20e124
take lava from cauldron with bucket
2022-06-21 13:08:20 +02:00
cora
9937224997
Add lava filled cauldron
2022-06-21 12:58:19 +02:00
cora
820b97f065
fix soem codestyle stuff in mcl_cauldrons
2022-06-21 12:52:54 +02:00
MysticTempest
f6599d237e
Fix smokers, & blast_furnaces to work at twice the rate of a furnace.
2022-06-21 00:36:13 -05:00
TheRandomLegoBrick
90ee8ecf0f
Merge branch 'grindstone' of https://git.minetest.land/TheRandomLegoBrick/MineClone2 into grindstone
2022-06-20 13:33:15 -07:00
TheRandomLegoBrick
6ec9765b58
Fix indentation
2022-06-20 13:31:23 -07:00
RandomLegoBrick
b5eda3000e
Merge branch 'master' into grindstone
2022-06-20 19:58:49 +00:00
TheRandomLegoBrick
99469ff1c5
Add grindstones
2022-06-20 12:46:59 -07:00
cora
e3c5b2cbb5
Fix crash on ghast explosions
...
In certain situations the arrow can be invalidated until its
get_pos() is called here - e.g. when the player wears over-
enchanted blast protection (65k in this case).
This uses the player position for the explosion in these cases
2022-06-20 13:40:05 +02:00
cora
dcc7df5f02
Add setting for nether dust too
...
plus slightly tweak the wording for thunder setting
2022-06-20 13:31:58 +02:00
cora
30e543d4d2
Add settings to change weather particle amounts
2022-06-19 22:50:29 +02:00
cora
d9da50e292
Properly check for sound update (fix warning)
2022-06-19 22:25:50 +02:00
cora
ca27237ffc
Tweak particle spawner settings
2022-06-19 22:19:46 +02:00
cora
ffa15727e3
readd grow_twisting_vines func
2022-06-19 13:27:12 +02:00
cora
31b94f5b22
Add "nether outpost"
...
As a temporary solution until large nether fortresses are there.
This is just a little tower containing some warts and a blaze
spawner.
2022-06-19 03:11:56 +02:00
cora
ecf6236152
Set fog color according to nether biome
2022-06-19 00:24:56 +02:00
cora
41f708e03e
Regular decorations for legacy nether(except v6)
...
minetest supports this now
2022-06-19 00:24:56 +02:00
cora
5b366c692d
Enable mob spawning in new biomes
...
lower ghast spawning chance
2022-06-19 00:24:52 +02:00
cora
0890c719a3
Add basalt pillars
2022-06-19 00:24:52 +02:00
cora
fefb15f2a8
Add new fungus tree schematics
2022-06-19 00:24:52 +02:00
cora
01eea4ab8a
prevent nether trees from growing through bedrock
2022-06-19 00:24:52 +02:00
cora
969ac0be78
fix style details and mistakes in mcl_crimson
2022-06-19 00:24:52 +02:00
cora
d9a74ac180
rename mcl_surface_pools -> mcl_terrain_features
2022-06-19 00:24:52 +02:00
cora
a0264ed5e0
tweak biome distribution to be more like mc
...
according to
https://www.reddit.com/r/Minecraft/comments/gjeuww/how_the_nether_biomes_are_distributed/
2022-06-19 00:24:52 +02:00
cora
48189cb3a7
fix lighting issue for placed schematics
...
warped and crimson shroomlight would not work correctly before
because they're placed after light calculation is done apparently
2022-06-19 00:24:52 +02:00
cora
db9fba70dd
some biome tweaks, add nether gold
2022-06-19 00:24:52 +02:00
cora
8efbd89b6a
Add basalt columns & lava pools
2022-06-19 00:24:52 +02:00
cora
3c79685c48
Add main nether biomes
...
Add nether forests
Add soulsand valley decorations
Add Basalt Delta basics
2022-06-19 00:24:48 +02:00
cora
06fdfd2e63
make nether mushroom rotation random
2022-06-19 00:24:48 +02:00
cora
1c3a6f8a19
replace algorithmic fungus gen by schematic
...
it was always the same anyways (except for the shroomlight)
2022-06-19 00:24:48 +02:00
cora
489ee80490
remove enderman spawning
2022-06-19 00:24:48 +02:00
AFCMS
f285e18d24
Fix some codestyle issues with mcl_crimson
2022-06-19 00:24:48 +02:00
cora
7d653011fc
fix whitespace
2022-06-19 00:24:48 +02:00
cora
6af3fecacb
rename mcl_mushroom to mcl_crimson
2022-06-19 00:24:48 +02:00
3raven
9d5bbd7d22
Correct name
2022-06-19 00:24:48 +02:00
3raven
686b62f6e3
fix
...
fix
2022-06-19 00:24:45 +02:00
3raven
ee2f8f46f1
Non flammable/modify by similiraty with trees
2022-06-19 00:24:45 +02:00
3raven
653020d2ef
Add texture files for stripped stem
...
Add texture files for stripped stem
Add texture files for stripped stem
Add warped hyphae stripped and bark
Same for crimson hyphae
2022-06-19 00:24:33 +02:00
kay27
7420877077
Bump ABM intervals to 1 second
2022-06-19 00:24:33 +02:00
3raven
69da3ffc05
fix texture
2022-06-19 00:24:33 +02:00
3raven
b25c23f5fa
mcl_mushroom.fr.tr
...
Translation
2022-06-19 00:24:33 +02:00
kay27
352fd7562f
#41 Remove proprietary textures, update game screenshot
2022-06-19 00:24:33 +02:00
debiankaios
4a727d79c7
german translation
...
german translation
german translation
2022-06-19 00:24:15 +02:00
debiankaios
b2b86e4fcc
Added textures for the sprouts and roots.
2022-06-19 00:24:15 +02:00
debiankaios
c3e00a1c26
Add more decoration blocks.
...
Added the decorations lbocks, and chancheg generation of decoration a bit.
2022-06-19 00:24:15 +02:00
debiankaios
4b976a663f
Add twisting_vines textures
2022-06-19 00:24:15 +02:00
debiankaios
6755675021
Fixed warnings
...
Warnings because a var which not exist
2022-06-19 00:24:15 +02:00
debiankaios
324aa159a7
New Textures
...
New Textures
New Textures
New Textures
New Textures
New Textures
New Textures
2022-06-19 00:23:23 +02:00
debiankaios
5b06af4fec
Bufixes
...
Fixed Bug that trees generating in other blocks. The slab and stairbug was fixed too.
2022-06-17 22:54:30 +02:00
Elias Fleckenstein
c1ee0228f0
Fix light_source warning in mcl_mushroom
2022-06-17 22:54:30 +02:00
cora
49cb60f2e5
comment out ore generation for now
2022-06-17 22:54:30 +02:00
debiankaios
8a181661a5
Add warped and crimson
2022-06-17 22:54:30 +02:00
cora
98a322443b
make "old" villagers keep their job
2022-06-17 13:59:32 +00:00
cora
cd43076ea3
additionally rate limit villager jobhunts
2022-06-17 15:54:53 +02:00
cora
e630ea59c9
Rate limit pathfinding attempts
...
In certain situation it otherwise results in excessive attempts to
find a path.
2022-06-17 15:54:53 +02:00
MysticTempest
965d10c003
Bell can be activated by redstone
2022-06-16 21:26:15 +02:00
Johannes Fritz
a455e7bb8e
Lightning command: Strike player by name
2022-06-16 13:43:44 -05:00
cora
92da429f50
Fix chatcommand not under mcl_structures in /help
2022-06-15 05:10:41 +02:00
cora
726d1f07fa
use noise instead of fill_ratio for distribution
2022-06-15 05:10:41 +02:00
cora
9c6aafa3c1
add surface pools
2022-06-15 05:10:41 +02:00
cora
1b0053299c
Do not replace bedrock during geode gen.
2022-06-15 05:10:41 +02:00
cora
fa56ce5d52
Add outer geode layer
...
uses deepslate until smooth basalt is there
2022-06-15 05:10:41 +02:00
cora
a0bed1d8bc
Add proper logging + some fixes
2022-06-15 05:10:41 +02:00
cora
a895292371
Add API documentation, minor fixes
2022-06-15 05:10:41 +02:00
cora
b0b8638a4c
Add /spawnstruct support
2022-06-15 05:10:41 +02:00
cora
8fa67e6b4f
Geodes as test for place by function
2022-06-15 05:10:41 +02:00
cora
1eaac3c406
use gennotify instead of lbm for placement
...
keep the lbm for secondary structures
2022-06-15 05:10:41 +02:00
cora
6406a14738
Add Structure placement api
2022-06-15 05:10:41 +02:00
cora
899c849996
old registered_structures -> structure_data
2022-06-15 05:10:41 +02:00
cora
8651e3b04e
randomize spawning list
2022-06-15 05:06:31 +02:00
cora
60f164d46a
Fix horse and wolf spawning biomes
2022-06-15 05:06:31 +02:00
mrminer
110b293297
Update 'mods/ITEMS/mcl_farming/potatoes.lua'
2022-06-15 01:30:55 +00:00
cora
27a84799e4
remove superfluous dependencies
2022-06-13 12:32:48 +02:00
cora
bd6d777f05
remove check for mcl_copper, fix recipe
2022-06-13 12:29:47 +02:00
cora
7dd6d5f886
spaces -> tabs
2022-06-13 12:29:47 +02:00
PrairieAstronomer
e58387d123
Removed screenshots and Liscense
2022-06-13 12:29:47 +02:00
NO11
c4aa634a40
mcl_spyglass by NO11
2022-06-13 12:29:17 +02:00
cora
9cea10a706
fix more blast resistance and hardness values
2022-06-13 02:48:00 +02:00
cora
2074fec7a1
Fix hardness and b.resistance of blackstone nodes
2022-06-13 02:48:00 +02:00
cora
4e1b6074c7
Add Smooth Basalt node
2022-06-13 02:48:00 +02:00
cora
a43627e268
Fix 2 wrong variable uses that made warnings
2022-06-12 01:35:27 +00:00
PrairieAstronomer
87a45ad78e
Minor Format Detail in Country Lode Advancement
2022-06-11 19:14:28 -06:00
PrairieAstronomer
bbd86045e5
Country Lode, Take Me Home Advancement
2022-06-11 15:35:48 -06:00
PrairieAstronomer
eb72bb81da
Fishy Business Advancement
2022-06-11 15:35:48 -06:00
PrairieAstronomer
b544fb819d
What A Deal! Advancement
2022-06-11 15:35:48 -06:00
PrairieAstronomer
17e2f05971
Sweet Dreams Advancement
2022-06-11 15:35:48 -06:00
PrairieAstronomer
2a62936fe7
Postmortal Advancement
2022-06-11 15:35:48 -06:00
PrairieAstronomer
91f8f44e17
The End? Advancement
2022-06-11 15:35:48 -06:00
PrairieAstronomer
1a5195b5e6
Isn't It Iron Pick Advancement
2022-06-11 15:35:48 -06:00
epCode
ef92475d35
Merge pull request 'master' ( #2296 ) from master into Raytraced_arrows_fix
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2296
2022-06-11 02:42:04 +00:00
epCode
6bc5e76b8f
fix tipped arrows and rocket
2022-06-10 19:40:12 -07:00
epCode
6a74adc261
Merge pull request 'master' ( #2290 ) from master into Raytraced_arrows
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2290
2022-06-09 16:18:56 +00:00
cora
d1149ee49a
Add 'mods/ITEMS/mcl_sus_stew/' from commit '6048efbc988390321952e9ba1da4f6342df59cbf'
...
git-subtree-dir: mods/ITEMS/mcl_sus_stew
git-subtree-mainline: 8d9131eda3
git-subtree-split: 6048efbc98
2022-06-08 05:16:58 +02:00
epCode
0aaede2f50
Merge pull request 'master' ( #2285 ) from master into Raytraced_arrows
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2285
2022-06-07 18:41:22 +00:00
MysticTempest
45ec876167
Knockback fixes:
...
This PR enables knockback for snowballs, and eggs.
And disables knockback for the following mobs: Shulkers, Iron Golems,
and Ender Dragons.
2022-06-07 02:55:19 -05:00
epCode
6c804f44d5
add a small bit of doc
2022-06-06 18:43:50 -07:00
cora
5c057f24fb
get_mapgen_params -> get_mapgen_setting
2022-06-07 03:17:32 +02:00
epCode
d738229298
Make loaded Crossbow (Corssbow) not show up in creative inventory
2022-06-07 00:58:37 +00:00
epCode
78940e109c
fix critical hit displaying in the wrong place
2022-06-06 14:38:18 -07:00
epCode
fdb7d5bfad
fixed Badly calculated arrow direction
2022-06-06 14:32:07 -07:00
epCode
f2c2f4106b
fix arrows not disapearing after mob hit, and self damaging
2022-06-06 13:55:28 -07:00
epCode
e1feec9a30
Add Raytracing arrows
2022-06-06 13:42:24 -07:00
epCode
ad486a56fd
Add more Villager sounds
2022-06-06 12:09:14 -07:00
epCode
42c764e149
Make Villager nod/head shake
2022-06-06 11:12:57 -07:00
cora
4bff9710a0
Make structblock non walk- and pointable
2022-06-06 01:08:55 +02:00
cora
d4e4bc8708
add rarer beached shipwreck
2022-06-05 13:10:36 +02:00
cora
b7419dc207
randomly enchant treasure
2022-06-05 13:10:36 +02:00
cora
4af1094eed
Add shipwrecks
...
schematics by chmodsayshello
2022-06-05 13:10:36 +02:00
cora
ef093d0c00
Be more careful with possibly expired objects
2022-06-04 20:26:00 +02:00
MysticTempest
b4c5805afe
Make items flowing in water use acceleration for movement.
2022-06-03 05:46:27 -05:00
MysticTempest
5dde594c19
Item movement fixes:
...
This PR fixes items at flowing_water edges not falling down holes.
As well as fixing items not sliding on slippery nodes like ice.
And, allows for movement starting at the source block of a
flowing water node. While ensuring regular water_source blocks
do not bug out.
2022-06-02 09:44:04 +00:00
MysticTempest
983b8f0934
Make breaking boats by hand easier.
2022-06-02 00:20:44 -05:00
NO11
25d847f49f
Fix crash when unknown item in offhand slot
2022-05-31 22:43:30 +02:00
MysticTempest
31106a2031
Fix items obtained from villager trades:
...
This PR stops the load_enchantments function from being
called for all items in the villager trades.
Fixing non-enchanted items from villagers being unable to stack
with their regular counterparts.
As they now, no longer have any description metadata.
While also ensuring that enchanted items still have their
tooltips, and work.
2022-05-30 15:11:22 -05:00
cora
dc21b02d04
update old mobs_mc_ horse armor textures
2022-05-30 10:49:38 +00:00
Elias Fleckenstein
a86fc935aa
mcl_maps: add callback to load_map function ( #2261 )
...
Fixes maps in itemframes not loading after restart (#2255 )
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2261
Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
Co-committed-by: Elias Fleckenstein <eliasfleckenstein@web.de>
2022-05-30 01:32:20 +00:00
cora
a44347f641
make cart.table, fletch.table and loom diggable
2022-05-29 22:07:47 +02:00
cora
e4a4648b25
fix size of black cat texture
2022-05-29 02:34:02 +02:00
cora
6b9cb0062d
save home coords in cat entity as well
2022-05-29 02:34:02 +02:00
cora
2337e72a23
simplify spawn logic
2022-05-29 02:34:02 +02:00
cora
da6563a5b3
Spawn witch and black cat on witchhut generation
2022-05-29 02:34:02 +02:00
cora
a179a1cb62
fix indoor weather + multiplayer issue
2022-05-29 02:24:12 +02:00
cora
7bc63d2882
fix mcl_mobs api_changes
2022-05-28 00:06:29 +02:00
cora
c0a9cb7020
don't hurt perched parrot on punch
2022-05-28 00:05:04 +02:00
cora
e90e17e533
clean up perch code, smoother behavior
2022-05-28 00:05:04 +02:00
cora
3d13000599
tweak detaching behavior
2022-05-28 00:05:04 +02:00
cora
86bc398a79
don't do flying animation while perching,fix anims
2022-05-28 00:05:04 +02:00
cora
14ec1aa014
add basic parrot perching
2022-05-28 00:05:04 +02:00
cora
ae2860d017
Show/Hide XP-hud immediately after gamemode switch
2022-05-27 19:56:47 +02:00
cora
1127231ca9
Fix crash on non existent xp-hud due to gamemode
2022-05-27 15:06:25 +02:00
cora
4dba637ed8
readd lost horse armor inv images - confusing names
2022-05-27 02:44:39 +02:00
Elias Fleckenstein
e7898352d8
Remove mobs_mc_gameconfig
2022-05-27 02:44:39 +02:00
cora
47fa43825c
count only mobs for cramming
2022-05-26 14:20:19 +02:00
cora
af7dc0fb8f
change "constant" declaration to match mcl_mobs
2022-05-26 14:16:38 +02:00
cora
87f50d6423
entity cramming: clean up check logic
2022-05-26 14:16:38 +02:00
cora
fb4f21cba0
entity cramming: spare the children
2022-05-26 14:16:38 +02:00
cora
85b599edba
entity cramming: check less often
2022-05-26 14:16:38 +02:00
cora
b4cbc528a3
mcl_mobs: add entity_cramming
2022-05-26 14:16:38 +02:00
Elias Fleckenstein
f6a40ffb78
Run tools/strip_trailing_whitespace.sh
2022-05-26 07:29:28 +02:00
Elias Fleckenstein
dd1f8cb59c
Remove enderman gameconfig
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
ff33794487
Rename mobs global to mcl_mobs
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
e0f70b54ec
Remove _cmi_is_mob
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
4054f05a4c
Remove support for invisibility mod
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
f6be8bac5a
Remove checks for MCL2 mods
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
8db9e76529
Remove unused version field
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
6ae722a6ee
Remove use_cmi
2022-05-25 23:13:33 +02:00
Elias Fleckenstein
fc3992ceb6
Remove mobs.is_creative
2022-05-25 23:13:33 +02:00
cora
d3afccad64
Merge pull request 'Fix warnings in mcl_bells and mcl_beds' ( #2243 ) from EliasFleckenstein03/MineClone2:warn into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2243
2022-05-25 17:54:28 +00:00
Elias Fleckenstein
569288b782
Fix warnings in mcl_bells and mcl_beds
2022-05-25 19:37:36 +02:00
cora
d863a6298b
fix/simplifiy things from review
2022-05-25 16:36:04 +02:00
cora
2499fe1e83
add complete input validation, better result msgs
2022-05-25 05:43:49 +02:00
cora
f89780695e
Add /gamemode command for per player gamemode
2022-05-25 05:43:49 +02:00
cora
6a2f9e1a16
Fix wrong argument to is_creative_enabled
2022-05-25 03:41:43 +00:00
cora
bda5073d86
make soul fire drop nothing when dug
2022-05-25 05:27:52 +02:00
cora
11e8e7d4cc
Add soul_group to s.soil&sand, torch fix recpipe
2022-05-24 13:25:59 +02:00
kabou
1931a85f24
Add blackstone to cobble group.
...
By adding blackstone to the group "cobble", it automatically inherits
all crafting recipes and tool repair capabilities that apply to that
group.
* Add `cobble=1` to blackstone node definition groups.
* Remove stone tools and furnace crafting recipes.
2022-05-24 13:25:45 +02:00
cora
0c65363a09
replace ' with "
2022-05-24 13:25:45 +02:00
cora
b6a647e119
remove unused vars
2022-05-24 13:25:45 +02:00
cora
23e5a1c7d3
Comment out ore generation for now
...
The discussion about how to handle this is still ongoing. Since
this is about getting the new nodes disable ore registration
for now.
2022-05-24 13:25:45 +02:00
cora
0d8436b343
fix soul fire
2022-05-24 13:25:45 +02:00
cora
29c16eaa75
remove superfluous torch models
2022-05-24 13:25:45 +02:00
cora
2d81d31139
Fix soul torch to use the actual mcl_torches api
2022-05-24 13:25:45 +02:00
cora
a9be3f0f96
remove excessive newlines
2022-05-24 13:25:45 +02:00
cora
181a7d3b11
make nether gold gen. respect mcl_generate_ores
2022-05-24 13:25:45 +02:00
cora
430dc7fd8c
remove packed ice recipe
2022-05-24 13:25:45 +02:00
cora
c6312e7bdd
use vector.new instead of normal tables
2022-05-24 13:25:45 +02:00
cora
d9f2db5950
adapt readme to mcl2
2022-05-24 13:25:45 +02:00
cora
6b058d6f38
remove changelog.md
2022-05-24 13:25:45 +02:00
cora
dd928db9ea
fix soul torch recipe
2022-05-24 13:25:45 +02:00
cora
67e026cb12
blackstone: remove soul lantern dupe(mcl_lanterns)
2022-05-24 13:25:45 +02:00
cora
4a0a9ba482
move depends.txt to mod.conf, add author field
2022-05-24 13:25:45 +02:00
debian044
16d79996c0
Add blackstone via cp -r & git add * ^^
2022-05-24 13:25:45 +02:00
Elias Fleckenstein
60c463b8f9
Run tools/generate_ingame_credits.lua
...
This should be run every time CREDITS.md is changed.
2022-05-22 21:41:40 +02:00
cora
028d1c1f4f
do not tame villagers
2022-05-22 14:43:44 +02:00
cora
a5ba8f739f
Add bell to villager trades
2022-05-22 02:01:21 +02:00
cora
d34191f00c
villagers go to the bell if it's rung(for now)
...
this will help with further testing pathfinding until villagers
get a proper schedule and do more things
2022-05-22 02:01:21 +02:00
cora
ec73afd21a
use iron texture for apprentice badge, not stone
2022-05-22 02:01:21 +02:00
cora
fca259c074
fix crash during (artificial) village creation
...
when using the village tool doing that on an unsuitable location
would result in no position for the belltower being available
this checks for that and ... doesn't crash then ^^
2022-05-22 02:01:21 +02:00
cora
7379d5bee8
Add Belltower to villages
2022-05-21 14:48:56 +02:00
cora
d67dd0577f
fix crash through forgotten function call
2022-05-21 12:36:57 +02:00
cora
e353ec3b16
Iron golems pick and pick up one (stack of) poppy
2022-05-21 12:36:57 +02:00
cora
5dafeaadc6
Fix indentation in mcl_mobs/api.txt
2022-05-21 12:36:57 +02:00
cora
2b63866c14
spawn villagers (and golem) immediately after mg
2022-05-21 12:36:57 +02:00
cora
27d0d778e2
Update TODO list
2022-05-21 12:36:57 +02:00
cora
a74fcab06b
Make iron golem stay near set _home position
2022-05-21 12:36:57 +02:00
cora
e51ea1e079
initialize inventory nodes on mapgen
2022-05-21 12:36:57 +02:00
cora
e5806215f0
fix possible crash
2022-05-21 12:36:57 +02:00
cora
08b36e3eb3
Add textures for all professions
2022-05-21 12:36:57 +02:00
cora
53df441c1b
Don't pick up near player, add more breeding stuff
2022-05-21 12:36:57 +02:00
cora
873e018faf
Dynamically add trading tier badge to texture
2022-05-21 12:36:57 +02:00
cora
b58422a584
write villager id into bed nodemeta
2022-05-21 12:36:57 +02:00
cora
3ff4ea576d
spawn iron golem on villagegen
2022-05-21 12:36:57 +02:00
cora
539c31e8d6
fix trading crash
2022-05-21 12:36:57 +02:00
cora
db865ede56
villagers open doors in daytime and close at night
2022-05-21 12:36:57 +02:00
cora
0d56ef1a90
add jobsites to villagegen schematics
2022-05-21 12:36:57 +02:00
cora
67939f7b7a
pathfinding: find doors close to target as well
2022-05-21 12:36:57 +02:00
cora
9ccbf91706
mobs api: document api additions
2022-05-21 12:36:57 +02:00
cora
dfb74cf9e9
mobs: add nofollow option so v. dont follow bread
2022-05-21 12:36:57 +02:00
cora
9a866e873e
breed by throwing bread at villagers
2022-05-21 12:36:57 +02:00
cora
e6b65af3b4
add mobs item pickup
2022-05-21 12:36:57 +02:00
cora
4ac41a793e
fix two crashes in pathfinding
2022-05-21 12:36:57 +02:00
cora
98231f15ae
change function name go_wplist -> gopath
2022-05-21 12:36:57 +02:00
cora
e3bb7fe4be
codestyle: replace inline functions
2022-05-21 12:36:57 +02:00
cora
f8fc111b4a
pathfind to jobsites
2022-05-21 12:36:57 +02:00
cora
dbc5564d02
move movement code to mcl_mobs
2022-05-21 12:36:57 +02:00
cora
ce7a882c86
Show trade tier in formspec
2022-05-21 12:36:57 +02:00
cora
12bc8f1a3b
initial pathfinding experiments
...
to test rightclick a villager and it will try to path find to
0,9,0 (i'm using flat mapgen for testing for now).
2022-05-21 12:36:57 +02:00
cora
0598aa35c0
add simple jobsite logic
2022-05-21 12:36:57 +02:00
cora
e9f4f500d9
bell: slightly tweak bottom texture
2022-05-21 12:35:22 +02:00
cora
63b6a1d176
Update README.md
2022-05-20 21:54:42 +02:00
cora
1ba12aec60
Add new textures, make bell a nodebox
...
thx erlehmann for the nodebox <3
2022-05-20 21:27:12 +02:00
cora
4ba570e3b4
remove mesecons dependency
2022-05-20 13:45:45 +02:00
cora
bf1a939564
fix bell sound
2022-05-20 13:44:17 +02:00
cora
fe164e5f41
add basic mcl2 node properties
2022-05-20 13:36:41 +02:00
kay27
a6e9afbb93
Add bell from mcl5
2022-05-20 13:33:39 +02:00
Nils Dagsson Moskopp
c9c14d6ff0
Add noise to christmas chest textures
2022-05-20 04:13:13 +02:00
Nils Dagsson Moskopp
ff384c9588
Reskin chests as presents on December 24th to 26th
2022-05-20 04:13:01 +02:00
cora
c4e51650f8
smoker & bfurnace: More concise short descriptions
2022-05-18 13:37:34 +02:00
cora
8426e7826a
Fix smoker fuel not being burned at twice the rate.
2022-05-18 13:30:00 +02:00
MysticTempest
d10f8944ed
Fix blast_furnace fuel not being consumed at twice the rate.
2022-05-18 05:30:05 -05:00
PrairieWind
d93704fa0e
Merge branch 'master' into furnaces
2022-05-17 18:33:20 +00:00
PrairieAstronomer
fe36d579eb
Add Blast Furnace and Smoker to Villager Workstations
2022-05-17 10:37:55 -06:00
PrairieAstronomer
4af0a4daae
Updated GROUPS.md and fixed blast furnace group name.
2022-05-17 10:34:44 -06:00
PrairieAstronomer
fd18c0d213
Removed Unneeded Code from Blast Furnace, and updated description.
2022-05-17 10:27:41 -06:00
PrairieAstronomer
7ac2593164
Removed Unneed code and fixed description of Smoker
2022-05-17 10:03:15 -06:00
PrairieAstronomer
29e18015b8
Make Fish and Salmon Smokable
2022-05-17 09:48:51 -06:00
PrairieAstronomer
e1a6baffe9
Smoker
2022-05-16 21:11:10 -06:00
PrairieAstronomer
f1a80876de
Make Copper Ore Blastable
2022-05-16 20:59:19 -06:00
PrairieAstronomer
3558541648
Blast Furnace
2022-05-16 20:45:45 -06:00
cora
5282a63bcb
add options for nametagged mobs and range
2022-05-15 20:04:09 +00:00
cora
e5de4bba65
keep nametagged mobs, add "all" argument
2022-05-15 20:04:09 +00:00
cora
628686ce79
Add a command to safely remove all mob objects
2022-05-15 20:04:09 +00:00
rudzik8
37e72e333b
Improve /seed command (now it looks like in modern MC) and update RU locale
2022-05-15 20:27:30 +07:00
MysticTempest
dd1a58b01e
Implement piston fixes:
...
This enables the feature of unsticky pistons. This allows
for some nodes to be unpullable, but otherwise pushable or diggable.
A certain selection of nodes that can never be moved.
And, stops certain entities from being pushed if they shouldn't move.
Along with this change; I've also updated the rules regarding
pushing, and pulling of nodes & objects to be more accurate to MC.
Now allowing for more complex redstone circuits to be built.
2022-05-15 02:18:21 -05:00
PrairieAstronomer
fec5650711
Removed dependancies
2022-05-14 16:01:14 -06:00
PrairieAstronomer
5abfa555eb
Added new workstations to villager jobsite definitions
2022-05-14 15:52:37 -06:00
PrairieAstronomer
dead4069b0
Removed incorrect groups
2022-05-14 15:48:33 -06:00
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
cora
31b8ea26a2
add jobsites to professions table
2022-05-14 00:32:15 +02:00
cora
fd6f2be485
update cleric trades
2022-05-14 00:32:15 +02:00
cora
07e0a90051
update tool smith trades
2022-05-14 00:32:15 +02:00
cora
f073d4d420
update weapon smith trades
2022-05-14 00:32:15 +02:00
cora
89aaf6b709
update butcher trades
2022-05-14 00:32:15 +02:00
cora
f09b578034
update leatherworker trades
2022-05-14 00:32:15 +02:00
cora
0ce1a92282
update armorer trades
2022-05-14 00:32:15 +02:00
cora
135ee97b21
update cartographer trades
2022-05-14 00:32:15 +02:00
cora
51cf92a909
update librarian trades
2022-05-14 00:32:15 +02:00
cora
2d47ad3e5f
update fletcher trades
2022-05-14 00:32:15 +02:00
cora
c28d700caf
update fisherman trades
2022-05-14 00:32:15 +02:00
cora
ba861d7b74
update farmer trades
2022-05-14 00:32:15 +02:00
cora
9b8b7ce6b4
refactor go home logic
2022-05-14 00:32:15 +02:00
cora
354d17a14c
enable simple villager breeding
2022-05-14 00:30:44 +02:00
rudzik8
7f3ba7d4a2
Enable placing carpets on llamas and add textures for it
2022-05-13 22:00:09 +00:00
cora
a1209b14a1
playerplus: fix deprc. add_player_velocity calls
2022-05-12 23:30:39 +00:00
kabou
baf8e0b79c
Update item entity for lodestone compass.
...
* Added another special case to the item entity registration for
lodestone compasses, without this a dropped lodestone compass would
turn into a regular compass on being dropped.
* Update the compass and lodestone compass frame number to be the
stereotype frame.
2022-05-12 21:08:52 +02: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
cora
12a943e222
Make villagers homeless when bed is gone on return
2022-05-09 10:29:58 +00:00
cora
8d0afede37
don't block mapgen on village generation
2022-05-09 10:29:57 +00:00
cora
0288581407
increase wait til village generated
2022-05-09 10:29:57 +00:00
cora
3774044f86
Walk back to bed instead of teleporting
2022-05-09 10:29:57 +00:00
cora
46dbf8c0ab
Spawn villagers on villagegen, stay in village
...
This spawns a villager per bed on village gen and saves the bed
position in the entity. If it moves too far from the village
it gets teleported (for now) back.
2022-05-09 10:29:57 +00: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
cora
5a25e42fd3
fix the 2nd nether dust warning ^^
2022-05-09 12:06:28 +02:00
kabou
4e3a2a7b4c
Fix list of spawnable biomes for rabbits.
...
* Rabbits spawn in Desert biome.
* Rabbits do no spawn in Forest and Swamp biomes.
2022-05-08 19:59:04 +00: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
e1ed990f58
sp. farm animals on grass, villagers near beds
2022-05-08 18:50:37 +00:00
cora
e4c5f81524
make husks spawn only in deserts, zombies not
2022-05-08 18:50:37 +00:00
kay27
53042b6f48
Adopt mob spawning from mcl5
2022-05-08 18:50:37 +00:00
Elias Fleckenstein
34e5bb0334
Add Wither Spawning
2022-05-06 19:40:39 +00:00
Elias Fleckenstein
c05a2d3a9d
Add wither spawning schems
2022-05-06 19:40:39 +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
chmodsayshello
3699ca5535
update translation template
2022-05-03 15:21:18 +00:00
chmodsayshello
9c652df8a2
update german translation
2022-05-03 14:59:49 +00:00
chmodsayshello
390802a344
fix crash when achievements are disabled and /awards is being used
...
This commit fixes https://git.minetest.land/MineClone2/MineClone2/issues/2164 , which crashes the game whenever /awards is called with arguments other than enable
2022-05-03 14:58:44 +00:00
cora
61a999fe5a
Fix warning in mcl_weather
2022-05-02 21:47:33 +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
5ba36c08b6
Drop carved pumpkin when shearing snow golem
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
a2dd8c935d
Make villagers accept uncarved pumpkin in trades
...
As map generation and growing mechanics have been changed to generate
uncarved pumpkins instead of carved, requiring players to shear every
pumpkin before trading it with villagers seems like useless busywork.
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
Alexander Minges
faf3f60cff
Use uncarved pumpkin instead of carved in mapgen
2022-04-22 18:07:37 +00:00
cora
b6ab815adc
Fix endermen dropping node AND taking it
2022-04-22 01:02:20 +02: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
kay27
dc4ccf91cc
lift clouds to 384 in valleys mapgen
...
Valleys has a much higher average elevation than v7 often leading
to "normal" looking terrain being in the clouds. This lifts the
clouds up higher.
2022-04-19 10:23:10 +00:00
cora
3cb9947cf4
fix sugarcane not getting param2 on mapgen
2022-04-19 12:16:07 +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
bb593159f1
mcl_weather: fix typo/crash
2022-04-08 06:23:14 +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
ace0dc00c7
Remove settlements_in_world
and settlements.txt
...
The global(!) table settlements_in_world` has no use, but is serialized and
saved to a file `settlements.txt` every time during generation of a new
village, adding more lag. This commit removes all related code:
* Remove all instances of `settlements_in_world`.
* Remove `settlements.load()` and `settlements.save()`.
2022-04-02 21:52:03 +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
cora
7f1bb7af92
replace nether dust particles with p. spawners
...
mcl2 uses add_particle for nether dust resulting in a 10-fold
increase in network traffic when in the nether. Nether dust is not
configurable making it impossible to turn this off for server admins.
this commit replaces the add_particle method with particle spawners
2022-03-30 10:21:32 +00:00
cora
53715212a2
remove unnecessary on_dimensionchange
2022-03-30 10:21:32 +00:00
cora
c146426c5c
fix snow not being properly removed
2022-03-30 10:21:32 +00:00
cora
dc24f45cfa
add indoor detection for snow
2022-03-30 10:21:32 +00:00
cora
d2861c5955
remove unneccessary particle logic
2022-03-30 10:21:32 +00:00
cora
1e4494e85d
let rain and thunder use particlespawners
2022-03-30 10:21:32 +00:00
cora
4eae95fa47
let snow use particlespawners
2022-03-30 10:21:32 +00:00
kabou
1b99b73894
Fix wrong player name accessor.
...
* Duh..
2022-03-30 01:31:38 +02:00
kabou
14da059ce7
Add extra check and warning on missing player data.
...
* For some unexplained reason, `mcl_burning.storage[player]` can
sometimes be `nil`, causing a crash in `on_leaveplayer()`. This
commit adds a check for that. If a `nil` is encountered, a sane
value is substituted and a warning is set to the log.
2022-03-29 12:06:00 +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
cora
1c9f0c3238
don't spawn mobs on non opaque nodes or leaves
...
with the preliminary jordanspaning mobs would spawn on trees
and water regularly.
2022-03-22 22:02:15 +01:00
cora
50e99f470e
fix certain mobs not spawning in certain biomes
2022-03-22 15:16:48 +01:00
NO411
aeff7cf1a4
Remove offhand item on death
2022-03-22 12:48:41 +01:00
kabou
46ee5aaa59
Fix undefined luaentity crash.
...
* Add nil check to get_luaentity() access.
* Cache get_luaentity() call in local var.
2022-03-21 01:39:02 +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
a9a3f01a0e
Tiny comment fix.
2022-03-19 03:16:15 +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
kabou
8518ce2c19
Add support for group:supported_node
...
* Add support for `group:supported_node` to CORE/mcl_attached.
Supported nodes are nodes that can be placed on any node that does not
have the `drawtype = "airlike"` attribute.
* Copy the `drop_attached_node()` function from minetest/builtin, so
that the override function provides the same behavior when nodes drop.
* Add comments to CORE/mcl_attached and to the functions defined in it.
* Add more local aliases for global minetest.* functions.
* If the original function returns true, it is not necessary anymore
to perform more tests and the override function can simply return true
immediately.
2022-03-19 02:32:13 +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
kabou
9eba0e4860
Remove unused code.
...
* Remove unused code that was commented out. The code tried to find
fire luaentities in the same spot as the newly created fire luaentity.
It may have been intended to optimize getting set on fire multiple
times, but it makes no sense as it does not discriminate between fire
luaentities attached to the object set on fire and those attached to
other objects. The function that this code was in also has a better
way to prevent adding multiple fire luaentities in the first place.
2022-03-18 11:39:11 +01:00
kabou
90311da514
Preempt possible crash on nil in on_joinplayer.
...
* In mineclone5 a crash was reported to occur when deserialization of
storage returned nil in on_joinplayer. https://git.minetest.land/
MineClone5/MineClone5/commit/96c4fb60d8641b4181edb902ed24dbf173828d09
This commit uses a different, but equally effective fix.
2022-03-18 11:36:33 +01:00
kabou
e9ff2ba32a
Minor changes to mcl_burning.
...
* Remove animation_frame from fire entity state, it is now kept in the
storage table of the parent entity.
* Rename animation_timer in fire entity table to _mcl_animation_timer,
in line with mineclone2 policy on adding custom members to minetest
tables.
* Comment out code that does nothing sensible. Scheduled for deletion
at a later time.
2022-03-18 11:36:23 +01:00
NO411
0f8f5a41d2
Fix dependencies
2022-03-15 16:30:03 +01:00
NO411
db68c0e26b
Add shield
2022-03-15 15:58:27 +01:00
kabou
3f787f8305
Remove stray work notes files.
...
* These temp files accidentally got added during the unregistered nodes
fixes.
2022-03-15 07:42:11 +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
GNU Hacker
f430aec0cd
item pickup sound gain more MC like
2022-03-13 14:58:01 +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
deed231f28
Fix typos.
2022-03-09 18:50:41 +01:00
kabou
11ee1d133f
Fix cut-n-paste error.
...
* Swap misplaced lines.
* Concatenate conditional expression.
2022-03-09 18:26:51 +01:00
kabou
1326b9e7e7
Add check for unknown nodes.
...
* Check if node has a definition table before attempting to evaluate its
attributes. By application of De Morgan's law, the compound logic
expression can be rewritten so that the existence of the table is
checked before all following attribute references.
2022-03-09 15:14:22 +01:00
kabou
6a69f49fa0
Add check for unknown nodes.
...
* Check if node has a definition table before attempting to evaluate its
attributes.
2022-03-09 14:59:49 +01:00
kabou
f5a8d6d17a
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.
* Clarify code flow.
2022-03-09 14:40:37 +01: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
kabou
9bac0da01a
Fix registered_items oddity and add check for unknown nodes.
...
* Mobs redo uses `registered_items[]` where clearly the proper table
accessed should be `registered_nodes[]`. Perhaps this magically
works, but it looks nonsensical. Switch to the use the more
sensible `registered_nodes[]` table.
* 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 13:11:53 +01:00
kabou
818cbb2f48
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 12:11:59 +01:00
kabou
88f7a150c7
Add check for unknown nodes.
...
* Add check for unknown node in `handle_node_drops()` and return
immediately if the dug node has no definition table.
2022-03-09 04:00:48 +01:00
kabou
962500b189
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 02:23:18 +01:00
kabou
95cfa43483
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 02:15:33 +01:00
kabou
4a1b93bbfa
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 02:05:38 +01:00
kabou
b9c2c3bd0a
Add check for unknown nodes.
...
* Check if node has a definition table before attempting to evaluate
attributes.
* Define local variable to cache multiple accesses to `registered_nodes[]`
and improve readability.
* Reduce redundant `== false` condition check.
2022-03-09 00:01:23 +01:00
Dieter44
f8c60b5f75
ITEMS/mcl_anvils: fix renaming items w/o desc…
2022-03-05 15:35:39 +00: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
kabou
c3e0996902
Fix fire HUD not showing on join while burning.
...
* Add the fire HUD to a player who joins the server while still burning
from the previous session.
2022-03-02 17:15:05 +01:00
kabou
d424d4f10e
Add comments to mcl_burning.update_hud().
2022-03-02 16:39:27 +01:00
kabou
e80006f4ea
Do not set fire to objects that are already burning.
...
Changes to mcl_burning.set_on_fire():
* Add logic that only updates the burn time, but skips adding fire
entities to objects that are already burning.
* Condense code a little, remove single use variables.
* Add a comment to a questionable piece of code.
* Add comments to the function.
2022-03-02 16:25:40 +01:00
kabou
b17776699e
Add comments to "storage" table.
...
* Document attributes of the "storage" table.
2022-03-02 15:40:29 +01:00
kabou
86a4ece7d2
Add local copy of minetest.find_nodes_in_area.
2022-03-02 15:25:03 +01:00
kabou
df5d24104d
Make player burning HUD work without csm.
...
* Add update_hud() function.
* Remove the client channels.
* Unglobalize animation_frames variable.
* Fix bug where player state was not stored on shutdown of singleplayer
game.
* Remove superfluous sanity_check() function, this code could easily be
inlined in its only caller.
2022-03-02 15:21:55 +01:00
kabou
56b63463a5
Fix burning entity animation.
...
The parameters for the flames sprite were incorrect, causing the reverse
side of the sprite to appear as an opaque black rectangle. Use the
correct incantation.
2022-03-02 10:47:46 +01:00
Nils Dagsson Moskopp
66bb209ad1
Fix TGA file writing on Windows
...
Before this patch, the tga_encoder mod would write corrupted TGA files
on Windows: Bytes that looked like newlines were replaced by a carriage
return and a newline.
2022-02-28 16:58:59 +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
b51e322304
make fire charges activate target (+ fix possible crash)
2022-02-26 22:38:34 +01:00
AFCMS
096d46152e
make bottle o enchanting activate target
2022-02-26 22:20:05 +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
E
87e494f42b
mapgen/mcl_mapgen_core: move set_node decorations a node callback
...
During the rewrite in 89e55e9065
, a queue system was added to allow
using both VoxelManip-based generation steps, and set_node-based steps,
however some set_node-based steps (underground mushrooms, nether
decorations, and structures) were missed and remained in a VoxelManip
step. The result is that the changes made by the set_node stages were
overwritten after the (now-stale) VoxelManip data was committed later.
(ref. Mineclonia/Mineclonia#26 )
2022-02-25 18:38:50 +01:00
cora
3feca330c9
fix the other 2 throw_xp occurences
2022-02-25 00:40:26 +00:00
cora
caacb378de
fix api change in enchanting
2022-02-25 00:40:26 +00:00
cora
379972ea11
fix crash when blaze attacks logged off player
2022-02-25 00:40:26 +00:00
cora
414e2e7725
fix crash on opening villager formspec
2022-02-25 00:40:26 +00:00
cora
435b5d756d
throw_experience->throw_xp (api change)
2022-02-25 00:40:26 +00:00
cora
2bb416765c
revert to old mobs ( 32c03dc27e
)
...
This reverts the hierarchies ENTITIES/mcl_mobs, ENTITIES/mobs_mc
and ENTITIES/mobs_mc_gameconfig to the state of commit
32c03dc27e
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
9cd24f4af5
mcl_commands
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
249dfac319
mcl_inventory
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
615a968fbb
mcl_skins
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
b02f7cd974
mcl_mobs
2022-02-23 23:58:05 +01:00
Emojigit
e19113d4e0
findbiome
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
3aff1f8981
mcl_hunger
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
ca6469b959
mcl_weather
2022-02-23 23:58:05 +01:00
Emojigit
c52e09ddcd
mcl_structures
2022-02-23 23:58:05 +01:00
Emojigit
bb55120adc
mcl_experience
2022-02-23 23:58:05 +01:00
Emojigit
77339afbe2
mcl_cocoas
2022-02-23 23:58:05 +01:00
Emojigit
9b15599bee
hudbars
2022-02-23 23:58:05 +01:00
Emojigit
a685c3bc83
mclx_core
2022-02-23 23:58:05 +01:00
Emojigit
b01d4eba88
mcl_paintings
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
f3d0ec845c
mcl_spawn
2022-02-23 23:58:05 +01:00
Emojigit
563daeed8a
mcl_wip
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
fe3e80bc0e
lightning
2022-02-23 23:58:05 +01:00
Emojigit
59fe078fd7
mcl_playerplus
2022-02-23 23:58:05 +01:00
Emojigit
dba08ddc1f
mcl_torches
2022-02-23 23:58:05 +01:00
Emojigit
551bf917e2
mcl_void_damage
2022-02-23 23:58:05 +01:00
Emojigit
26dadb1846
mcl_falling_nodes
2022-02-23 23:58:05 +01:00
Emojigit
33a353e20d
mcl_privs
2022-02-23 23:58:05 +01:00
Emojigit
f02f3c9f40
screwdriver
2022-02-23 23:58:05 +01:00
Emojigit
410c1ecd1f
mcl_hbarmor
2022-02-23 23:58:05 +01:00
Emojigit
ba172f0847
mcl_explosions
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
c3dd5e6c2c
MORE MESS SORRY XD
2022-02-23 23:58:05 +01:00
Emojigit
21808390f9
Revert "add translates for mcl_boats
"
...
This reverts commit 2ee84f2ad3bd1f067a43c9382d7fc70f30fab9f0.
2022-02-23 23:58:05 +01:00
Emojigit
cc87791327
add translates for mcl_boats
...
Co-authored-by: Emojigit <emojigit@noreply.git.minetest.land>
2022-02-23 23:58:04 +01:00
Emojigit
a8aabb2329
add translate for doc_identifier
2022-02-23 23:58:04 +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
61f4c5b885
apply @kay27 fix to mcl_util.drop_items_from_meta_container
2022-02-22 18:08:26 +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
c64d0e4558
simplify random dropping position code
2022-02-22 18:08:24 +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
cora
a9357f7380
Do not send redundant bone position and properties
2022-02-22 11:15:56 +00: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
8db28c1337
Update get_pointed_thing function
2022-02-17 15:30:41 +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
NO11
ad99746d99
Add get_pointed_thing function
2022-02-17 14:35:51 +00:00
Nils Dagsson Moskopp
adf738854a
Fix mob-in-boat crash in Minetest 5.5-dev
...
In Minetest 5.4.1, calling get_player_control() on a mob returned the
empty string. Minetest commit 5eb45e1ea03c6104f007efec6dd9c351f310193d
changed this, so now calling get_player_control() on a mob returns nil.
As mcl_boats defines boats that can have a player or a mob as a driver,
code like the following crashes with a changed get_player_control() API:
local ctrl = driver:get_player_control()
if ctrl.sneak then
detach_object(driver, true)
end
Furthermore, once a world has crashed, joining it near a mob that is the
driver of a boat with such control code immediately crashes again.
When I reported this bug to Minetest, several Minetest core developers
stated that they disliked the old API and proposed other return values
for calling a mob's get_player_control() function – all different from
the empty string. Since I have some doubts that this bug will be fixed
in Minetest 5.5.0, boat code must take into account a nil return value.
Minetest issue: https://github.com/minetest/minetest/issues/11989
2022-02-15 11:17:01 +01:00
AFCMS
da4952a125
wip mcl_damage documentation
2022-02-13 21:31:04 +01: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