Commit graph

4395 commits

Author SHA1 Message Date
chmodsayshello
1830ca8815 'fix' beacon beam abm 2022-07-31 22:22:57 +02:00
chmodsayshello
1462c39092 remove unnecessary minetest.get_node 2022-07-31 22:22:57 +02:00
chmodsayshello
ca77ffe1c7 decrease blockcheck by 25 nodes
that way, even with the lowest possible render distance, all nodes are loaded, if there are no nodes above the beacon (excluding glass etc.), it sets the meta and places the beam 175 blocks high, it extends all the way until the next non-air block if the player is near enoght...

Signed-off-by: chmodsayshello <chmodsayshello@hotmail.com>
2022-07-31 22:22:57 +02:00
chmodsayshello
d3eccce013 fix color palette 2022-07-31 22:22:57 +02:00
chmodsayshello
b9cb3a4d70 optimisations 2022-07-31 22:22:57 +02:00
chmodsayshello
022fa1d794 remove last beam completly before placing a new one 2022-07-31 22:22:57 +02:00
chmodsayshello
6ae9e6f873 minor optimisations 2022-07-31 22:22:56 +02:00
chmodsayshello
dd9e6e5d6b mesh by Sumi 2022-07-31 22:22:56 +02:00
chmodsayshello
65171a34a8 prevent pistons from pushing beacon beams 2022-07-31 22:22:56 +02:00
chmodsayshello
2d407f8897 change 301 to 501 here as well 2022-07-31 22:22:56 +02:00
chmodsayshello
d15ad61038 remove unnecessary minetest.log call 2022-07-31 22:22:56 +02:00
chmodsayshello
1fdd6a4707 glass changes color of beacon beam 2022-07-31 22:22:56 +02:00
chmodsayshello
56f3f0503e minor changes 2022-07-31 22:22:56 +02:00
chmodsayshello
e0a205bdcc translation template + german translation 2022-07-31 22:22:56 +02:00
chmodsayshello
38d4e7afc9 changing some comments 2022-07-31 22:22:56 +02:00
chmodsayshello
154da96cb0 add beacon beam 2022-07-31 22:22:56 +02:00
chmodsayshello
9e6af33469 drop items once beacon gets destroyed 2022-07-31 22:22:56 +02:00
chmodsayshello
f7028bc836 'fix' beacon texture 2022-07-31 22:22:56 +02:00
chmodsayshello
f6ce37f2b9 add netherite to beacon materials 2022-07-31 22:22:56 +02:00
chmodsayshello
18888d3ad8 make beacons mineable 2022-07-31 22:22:56 +02:00
chmodsayshello
a3adb3d80a beacon crafting recipie 2022-07-31 22:22:56 +02:00
chmodsayshello
74e3dfa0d7 beacon related achievements 2022-07-31 22:22:56 +02:00
chmodsayshello
cc877e1264 fix mayor multiplayer bug
because i escape the loop using return after applying the effect to ONE player, which causes the other ones to not get the effect
2022-07-31 22:22:56 +02:00
chmodsayshello
a33d3e68a2 check if there are no blocks above beacons 2022-07-31 22:22:56 +02:00
chmodsayshello
9433cbe5a5 remove unnecessary code 2022-07-31 22:22:56 +02:00
chmodsayshello
6a7626e122 use globalstep instead of abm 2022-07-31 22:22:56 +02:00
chmodsayshello
ef659bc5a9 remove debug logging 2022-07-31 22:22:56 +02:00
chmodsayshello
eac55ecea4 upload mod (mcl_beacons) itself 2022-07-31 22:22:56 +02:00
chmodsayshello
86be87f263 upload textures 2/2 2022-07-31 22:22:56 +02:00
chmodsayshello
f310395675 upload textures 1/2 2022-07-31 22:22:56 +02:00
chmodsayshello
17053a8420 add mod.conf 2022-07-31 22:22:56 +02:00
cora
d6bfe9eb50 Fix filesizes & saturation 2022-07-31 16:14:05 +02:00
cora
12180b93a0 Make riverwater transparent 2022-07-31 16:14:05 +02:00
PrairieAstronomer
64f810ac76 Removed some unnessary code 2022-07-30 12:40:04 -06:00
PrairieAstronomer
a153e5bc33 Fixed Place Water in the Nether with Fish Buckets. 2022-07-30 12:21:16 -06:00
SumianVoice
c93461ee0a Merge branch 'master' into item_floating 2022-07-26 10:21:17 +00:00
cora
1743b8791b Fix long globalstep for inactive shields 2022-07-26 00:36:54 +02:00
PrairieAstronomer
c6644a3fd1 Change raw ore block cooktime to 90. 2022-07-26 00:23:09 +02:00
PrairieAstronomer
40d993764b Added Raw Ore Block Smelting Recipe
Added Raw Ore Block Smelting. Also fixed the whitespace in the raw ore init file.
2022-07-26 00:23:09 +02:00
PrairieAstronomer
b2a73f26d7 Added fortune drops to iron and gold ores 2022-07-26 00:23:09 +02:00
PrairieAstronomer
e3f8dd158e Added raw ores to iron and gold ore drops 2022-07-26 00:23:09 +02:00
PrairieAstronomer
3aa26cac14 Tropical Fish Bucket
Adds the bucket of tropical fish.
2022-07-24 23:52:42 +02:00
Sumyjkl
5fc662664f cactus will act as if dug instead of its own hardcoded breaking function 2022-07-24 15:59:00 +10:00
Sumyjkl
65e42845f4 netherite armour no longer burns in lava 2022-07-22 23:18:51 +10:00
Sumyjkl
58d80e5e9c netherite items (except armour) will float in lava and not burn 2022-07-22 23:06:35 +10:00
Sumyjkl
65fc5b6f28 droppers and dispensers actually shoot items out, items will merge with eachother even when floating 2022-07-22 22:38:36 +10: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
da4aa9bc35 improve crying obsidian visuals 2022-07-18 22:21:58 +02: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
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
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
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
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
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
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
889e72c50d don't dig amethyst by water 2022-07-05 00:12:23 +02:00
Johannes Fritz
e22d543d80 Fix loom and fletching table textures 2022-07-03 10:53:00 -05: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
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
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
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
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
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
6ec9765b58 Fix indentation 2022-06-20 13:31:23 -07:00
TheRandomLegoBrick
99469ff1c5 Add grindstones 2022-06-20 12:46:59 -07: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
fefb15f2a8 Add new fungus tree schematics 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
db9fba70dd some biome tweaks, add nether gold 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
MysticTempest
965d10c003 Bell can be activated by redstone 2022-06-16 21:26:15 +02:00
cora
899c849996 old registered_structures -> structure_data 2022-06-15 05:10:41 +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
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
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
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
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
cora
ef093d0c00 Be more careful with possibly expired objects 2022-06-04 20:26:00 +02: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
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
Elias Fleckenstein
f6a40ffb78
Run tools/strip_trailing_whitespace.sh 2022-05-26 07:29:28 +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
569288b782
Fix warnings in mcl_bells and mcl_beds 2022-05-25 19:37:36 +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
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
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
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
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
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
chmodsayshello
00dba67cd8 remove lodestone compass from creative inventory 2022-05-12 19:06:13 +02:00
kabou
872b708465 Remove unused variable.
* Removed unused variable `stack_max`.
2022-05-11 21:45:15 +02:00
kabou
74e70b674e Fix return value of get_compass_image().
* `get_compass_image()` did not actually return the image number.
2022-05-11 21:43:52 +02:00
kabou
14c882f982 Fix lodestone compass meta handling.
* The nature of a compass was being determined by looking at its meta.
  This caused lodestone compasses with unset meta to turn into regular
  compasses.  Fixed by using string matching on the itemname.
* Changed lodestone rightclick handler to explicitly set the correct
  name and frame of the compass used on it instead of waiting for
  globalstep to do this.
2022-05-11 21:31:50 +02:00
kabou
8ae605165b Fix lodestone compass stack_max.
* Lodestone compasses are stackable.
* Remove hardcoded `stack_max` setting, use default.
2022-05-11 17:53:41 +02:00
kabou
aca4aca79b Add German translation.
* Add "de" (German) translation by chmodsayshello.
2022-05-11 17:43:57 +02:00
kabou
bacc7613b5 Fix crash in mt 5.4 with vector ops.
* `vector.from_string()` is not available in mt pre-5.5.  Replace with
  `minetest.string_to_pos()`.
2022-05-11 17:41:10 +02:00
kabou
8a4b8707fa Add new compass API.
* Add API.md
* Update mcl_itemframes to use the new API.
* Revert old exported function back to original API.
2022-05-10 23:38:28 +02:00
kabou
a8c231da34 Refactor compass code.
* Split up `get_compass_image()` into smaller functions.  This allows
  for better code sharing between old and new API and globalstep fn.
* Add `get_compass_itemname()` function.  It will be the new API of
  choice, `get_compass_image() will be deprecated soon.
* Remove function declaration out of globalstep function.
* Various other performance improvements.
* Add local aliases for global functions
* Lodestone compasses can only stack 1 item.
* Document functions and variables.
* Fix lodetone compass inaccurately reusing compass descriptions.
* Add usage descriptions to node definitions
* Refactor craftitem registration code.
* Update translation templates.
2022-05-10 22:43:03 +02:00
MysticTempest
44b1d583a7 Potion Fixes:
Ensure all potion icons disappear after their effect is gone.
Stop Breath bar from flashing when water_breathing is in effect.
2022-05-09 05:18:59 -05:00
chmodsayshello
6cb08a3c87 update dependencies 2022-05-08 19:57:09 +00:00
chmodsayshello
31a8ddabb8 minor changed (see long description)
This commit makes charged respawn anchors light sources, all respawn anchors can no longer be pushed by pistons and always drop the uncharged one
2022-05-08 19:57:09 +00:00
chmodsayshello
6806ea311d code from inital PR 2022-05-08 19:57:09 +00:00
cora
f1fc84b31b fix referencing mistake with cracked deepslate 2022-05-06 10:48:02 +00:00
AFCMS
f9a2dacdd4 Fix texture and sound names in mcl_amethyst 2022-05-05 22:49:23 +02:00
AFCMS
00c70014c7 Fix codestyle and translation of mcl_amethyst 2022-05-05 22:49:23 +02:00
3raven
f4020ebd31 mcl_amethyst.fr.tr
Translation
2022-05-05 22:49:23 +02:00
kay27
74322ead49 #11 Polish amethyst stuff 2022-05-05 22:49:23 +02:00
kay27
1a83f50505 Fix amethyst buds light levels again 2022-05-05 22:49:23 +02:00
kay27
206c98e354 Fix various amethyst errors, better seed function 2022-05-05 22:49:23 +02:00
kay27
69e83d5c0a #11 Spawn buds 2022-05-05 22:49:23 +02:00
kay27
d3dfd13f78 #11 Fix the style, add template.txt, add Russian translation 2022-05-05 22:49:23 +02:00
kay27
e28ccd9a80 #11 Put tabs instead of each 2 spaces 2022-05-05 22:49:23 +02:00
kay27
a5fba06a2c #11 Remove amethyst screenshot 2022-05-05 22:49:23 +02:00
Emojigit
6c36c83a18 AMethyst Growing 2022-05-05 22:49:23 +02:00
Emojigit
48a4e069f9 craft bugfix 2022-05-05 22:49:23 +02:00
Emojigit
60e04438e0 typo missing space 2022-05-05 22:49:23 +02:00
Emojigit
0b01d299ea 更新 'mods/ITEMS/mcl_amethyst/init.lua' 2022-05-05 22:49:23 +02:00
Emojigit
ebdf944dda amethyst bud 2022-05-05 22:49:23 +02:00
Emojigit
794e10df4e [mcl_amethyst] INIT
* Amethyst Block
* Budding Amethyst (won't  grow amethyst now)
* New spyglass recipe
* Tinted Glass
* Calcite
2022-05-05 22:49:23 +02:00
cora
6a2fe2eb4f remove ancient backup "init_new.lua" 2022-05-05 04:05:08 +00:00
kabou
1266396e1d Add cobbled deepslate to cobble group.
By adding cobbled deepslate to the group "cobble", it automatically
inherits  all crafting recipes and tool repair capabilities that apply
to that group.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Textures were taken from XSSheep/Nova_Wostra Pixel Perfection texture
pack.
2022-02-19 21:18:01 +01:00
NO11
c40c05f594 Exact MC behavior 2022-02-17 15:32:58 +00:00
NO11
d46a96c43a Merge branch 'master' into buckets+ 2022-02-17 14:48:07 +00:00
NO11
3cfcd1355f Add missing dependency 2022-02-17 14:42:01 +00:00
NO11
4707cd4526 Correct bucket behavior 2022-02-17 14:36:48 +00:00
AFCMS
c59bea211d
fix some typos 2022-02-13 21:31:03 +01:00
AFCMS
5aa18d573e
document mcl_armor function (WIP) 2022-02-13 21:31:03 +01:00
AFCMS
13f8fd457c
document manual armor creation 2022-02-13 21:31:03 +01:00
AFCMS
2b820d7756
mcl_armor.register_set() documentation 2022-02-13 21:31:02 +01:00
Elias Åström
4ca89cfcae Update groupcaps_hash function to minetest.sha1 2022-02-12 20:08:03 +01:00
Elias Åström
a6c5c8a72a Call update_groupcaps from load_enchantments
This avoids the need to call the function from on_enchant for unbreaking
and efficiency.
2022-02-12 19:43:01 +01:00
Elias Åström
d898b02c8b Fix #1922 2022-02-12 19:43:01 +01:00
AFCMS
2690094a95 allow placement of lanterns on chains 2022-02-10 11:45:08 +01:00
AFCMS
23873f31f1 add french translation of mcl_lanterns 2022-02-09 22:19:24 +01:00
AFCMS
749d4f1a4b add lanterns translation template 2022-02-09 22:15:44 +01:00
AFCMS
8817d51d64 minecraft like lanterns placement limitations 2022-02-09 22:11:50 +01:00
AFCMS
9b375aa9e8 attemp to fix lanterns placement 2022-02-09 18:19:46 +01:00
AFCMS
7fbdd71081 obtimize glass detail images 2022-02-09 12:21:28 +01:00
AFCMS
9cc088c940 fix lantern light value to fit minetest limit 2022-02-08 23:00:45 +01:00
AFCMS
6572a8c908 add lanterns, crafts, placement mechanism, doc entries 2022-02-08 22:56:20 +01:00
AFCMS
ffa9d2d0fd add basic chains and lantern model and API 2022-02-08 10:58:25 +01:00
NO11
627c37cd97 Fix pumpkin hud 2022-01-02 12:37:20 +00:00
NO11
7cc7fb1331 Make removing of arrow entities also work with mobs, remove arrows on respawn 2022-01-02 11:06:29 +00:00
NO11
7b46225176 Remove arrow entities when the player joins to prevent killing on startup (working fix) 2022-01-01 22:59:21 +00:00
NO411
7b47a15e34 Remove arrow entities when the player leaves to prevent killing on startup 2021-12-30 14:04:53 +01:00
AFCMS
a7e471de62 framed stained glass 2021-12-23 18:02:43 +01:00
AFCMS
12830781f8 Merge branch 'master' into connected_glass 2021-12-23 17:29:53 +01:00
Elias Fleckenstein
e2360204a7
Revert "fixed daylightsensor's register_abms"
This reverts commit 5a4abcbcb7.
2021-12-12 15:55:52 +01:00
chmodsayshello
5a4abcbcb7 fixed daylightsensor's register_abms
By changing the check if a normal/inverted daylightsensor should update by turning on and off, I made them workling again
2021-12-10 13:59:31 +00:00
kay27
0c8e5dc7a4 Disable Nether portal node rotation by screwdriver 2021-12-10 03:52:14 +04:00
Elias Fleckenstein
e4feb233e0
Fix hopper dupe 2021-12-09 18:20:24 +01:00
Elias Fleckenstein
ec7e245b9d
Various fixes to the enchanting and loot system
- enchanted loot generated by mapgen now uses PseudoRandom for randomness
- prevent fishing loot from generating loot 32767 times (!!!) when only 1 is needed
- bows and fishing rods obtained from the treasure section of fishing loot are now enchanted
- there is now a function to uniform enchant items other than books
2021-12-07 17:57:18 +01:00
Elias Fleckenstein
b3958a956d
Refactor random enchantment selection code 2021-12-07 16:16:07 +01:00
Elias Fleckenstein
882db9f873
Remove unused and completely unlogical enchantment_level paramenter from get_possible_enchantments 2021-12-07 15:49:12 +01:00
Elias Fleckenstein
261faafb7c
Fix get_possible_enchantments to not return incompatible enchantments, even if treasure enchantments are allowed 2021-12-07 15:47:23 +01:00
Elias Fleckenstein
e6b200aaf3
Fix access to ender inventory without an ender chest 2021-12-02 16:19:59 +01:00
Elias Fleckenstein
d3015edeb9
Fix reference dupes for droppers and dispensers 2021-11-29 19:12:49 +01:00
Glaucos Ginez
9edf277905 Fix mobs spawn count 2021-11-21 22:13:24 -03:00
Elias Fleckenstein
b0aceae73d
Fix reference dupe glitches 2021-11-19 15:22:40 +01:00
Elias Fleckenstein
6ca5799565
Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-11-17 18:25:19 +01:00
Elias Fleckenstein
30528b0a2c
Fix crash when opening a chest with an unknown node on top 2021-11-17 18:25:12 +01:00
NO11
642b9db035 localize wielditem in crossbow.lua (Fix #1901) 2021-11-13 15:19:34 +00:00
NO11
490e40d042 Bone meal particles: add some velocity, correct glow 2021-11-12 15:41:09 +00:00
NO11
9e4e7f0695 Merge branch 'master' into bone_meal 2021-11-12 15:02:13 +00:00
NO11
2a08f31435 Use particlespawners for better performance (sponge particles) 2021-11-12 14:09:59 +00:00
NO11
8979230c42 Several fixes for applying bone meal to grass 2021-11-10 17:15:27 +00:00
Elias Fleckenstein
a7bc460fae
Fix boat and enchanting book texture glitches / warnings 2021-11-09 17:39:39 +01:00
NO11
30ce6f8a77 Fix typo min -> max 2021-11-08 13:16:20 +00:00
NO11
5b52deaa8a Merge branch 'master' into bone_meal 2021-11-06 13:38:20 +00:00
NO11
7bbc1e9951 Add API.md for bone meal API 2021-11-06 13:34:22 +00:00
Elias Fleckenstein
0dd780ee2a Merge pull request 'Implement grass palette conversion, Add sugar cane colorisation' (#1889) from EliasFleckenstein03/MineClone2:tint into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1889
2021-11-06 13:29:39 +00:00
NO11
1b259f928b Add simple bone meal API
- callback api
- particle api
2021-11-06 13:12:03 +00:00
Elias Fleckenstein
970988cb39
Add sugar cane colorisation 2021-11-03 19:58:50 +01:00
Elias Fleckenstein
34f329a9d5
TextureConverter: Implement grass palette conversion
Source: https://minecraft.fandom.com/wiki/Tint
Since the MineClone2 biomes do not entirely match with the Minecraft ones I picked the Minecraft biomes that seem to match them best.
This also changes the palette index of the nether to match the desert instead of the mesa biome
and changes the color of grass blocks in item form to the default minecraft one.
2021-11-03 19:57:21 +01:00
Elias Fleckenstein
a4e73886d5
Rework XP API 2021-11-03 19:36:57 +01:00
NO11
6025a3d7d4 Merge branch 'master' into totem_particles 2021-10-28 09:06:09 +00:00
NO11
19689dd857 Use enchanted golden apple for thing banner 2021-10-26 16:50:10 +00:00
NO11
b78e7b3e4d Merge branch 'master' into totem_particles 2021-10-26 14:48:07 +00:00
Elias Fleckenstein
30f7c638f3
mcl_enchanting: Add spanish translations and update template
Credit to: todoporlalibertad <todoporlalibertad@riseup.net>
Reviewed by j45
2021-10-25 22:55:48 +02:00
NO11
eccba76732 Use math.floor instead of math.round 2021-10-25 20:25:34 +00:00
NO11
6d22262c53 Merge branch 'master' into totem_particles 2021-10-25 17:09:24 +00:00
NO11
7489010152 Use particlespawners instead of single particles 2021-10-25 17:08:38 +00:00
NO11
dafe860e56 simple totem particles 2021-10-24 19:31:51 +00:00
epCode
1c458a2e72 Add crossbows 2021-10-15 12:00:37 -07:00
NO11
9ccf8de606 Fix crash on startup if mcl_playersSleepingPercentage is not defined (#1874) 2021-10-09 14:41:56 +00:00
NO11
19b5a5aac7 Merge pull request 'Add playersSleepingPercentage server setting (Fix #920)' (#1861) from NO11/MineClone2:beds into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1861
2021-10-07 15:14:03 +00:00
NO11
fe91d7f3e0 use mcl_util.replace_mob function to simplify dispenser code 2021-10-05 04:15:48 +00:00
AFCMS
e9437e9e1e fix crash then using function in _mcl_armor_[texture, preview] tool field 2021-09-29 21:06:51 +02:00
NO11
16c73c1cb6 Add forgotten = 2021-09-28 13:16:19 +00:00
NO11
03be736566 Dont skip night if no players are in bed 2021-09-27 20:13:12 +00:00
NO11
e83438e42c Update mcl_bed README.txt 2021-09-21 18:19:07 +00:00
NO11
df1d8077e6 Some fixes for mcl_beds
- remove enable_bed_night_skip setting (mcl_playersSleepingPercentage setting can be used to enable disable night skip)
- make it possible to change mcl_playersSleepingPercentage ingame
- fix weird bug which allowed only numbers <= 0
2021-09-21 18:07:36 +00:00
AFCMS
b0cf07a020 Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.ru.tr' 2021-09-20 07:59:00 +00:00
AFCMS
e36a8c5acf Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.pl.tr' 2021-09-20 07:58:25 +00:00
AFCMS
b2af00db22 Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.es.tr' 2021-09-20 07:57:04 +00:00
AFCMS
e8134345d4 Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.de.tr' 2021-09-20 07:56:25 +00:00
AFCMS
e0c7e938de Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.fr.tr' 2021-09-20 07:55:51 +00:00
ztianyang
ac8383dd4b Merge branch 'master' into emerald-desc 2021-09-20 01:54:00 +00:00
NO11
c22c2063ad Merge branch 'master' into beds 2021-09-12 12:53:01 +00:00
NO11
410b7c7844 Update german translation for mcl_beds 2021-09-12 12:52:26 +00:00
NO11
9f9799d96e Update template.txt in mcl_beds 2021-09-12 12:50:54 +00:00
NO11
cd84c472dc Add translation support. 2021-09-12 12:49:39 +00:00
NO11
89ff666a6a Add playersSleepingPercentage server setting (Fix #920) 2021-09-12 12:21:18 +00:00