Commit graph

7217 commits

Author SHA1 Message Date
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