forked from VoxeLibre/VoxeLibre
Compare commits
merge into: isaacdennis:master
isaacdennis:master
isaacdennis:fix-pt-br
isaacdennis:fish_bucket_nametag
isaacdennis:campfire_update
isaacdennis:credits_0_84
isaacdennis:fix_cart_hopper_crash
isaacdennis:armor_trims
isaacdennis:liquids_rename
isaacdennis:reduce-explosiontimer_reset_radius
isaacdennis:villager-golem-fixes
isaacdennis:fix_beetroot_fortune_drops
isaacdennis:fix_sliding
isaacdennis:illager_banner_description
isaacdennis:release_0.83.1
isaacdennis:skelly_horse_thunder
isaacdennis:mobs_armor
isaacdennis:mobsarmorfix
isaacdennis:smoother_biome_borders
isaacdennis:jukebox_sound_distance
isaacdennis:cobble_abm_height
isaacdennis:callable-tool-rightclick-functions
isaacdennis:effects_rewrite
isaacdennis:respiration
isaacdennis:make-new-music-louder
isaacdennis:damage
isaacdennis:texture_conversion_wool
isaacdennis:dehardcoded_signs
isaacdennis:mcl_oxidization
isaacdennis:Texture-Rename2
isaacdennis:Bamboo-Piston-Dig
isaacdennis:hardcore_mode_test
isaacdennis:update_german_translation_attempt2
isaacdennis:test_mob_tweaks_branch
isaacdennis:csm-enabled
isaacdennis:move_physics_tweak
isaacdennis:water_footstep
isaacdennis:biome_skycolor
isaacdennis:bambootoo
isaacdennis:lower_ow_mapgen
isaacdennis:release/0.81.1
isaacdennis:revert_chest_models
isaacdennis:mcl-craftguide-drop-sfinv
isaacdennis:mcl-structures-fixes
isaacdennis:turtlestriderbeefox
isaacdennis:arrow_node_collision
isaacdennis:pvp_knockback
isaacdennis:icebergs
isaacdennis:light_dump
isaacdennis:testing
isaacdennis:mobs-redo
isaacdennis:wood_api
isaacdennis:mobs_head_rotation
isaacdennis:bonemeal
isaacdennis:dyable-leather-armor
isaacdennis:new_mapgen_api
isaacdennis:newmobs-master
isaacdennis:formspec_overhaul
isaacdennis:mobs
isaacdennis:mapgen
isaacdennis:mineclone5
isaacdennis:chat-command-builder-2
isaacdennis:formspec-v4
isaacdennis:doc-refactoring
isaacdennis:production
isaacdennis:objects
VoxeLibre:add-dynamic-rules
VoxeLibre:projectile-refactor
VoxeLibre:head-swivel2
VoxeLibre:hammers_spears
VoxeLibre:optimize-lightning
VoxeLibre:master
VoxeLibre:mapgen-test-branch
VoxeLibre:observers-swap-node
VoxeLibre:dead-player-in-inventory
VoxeLibre:burning_in_thunder
VoxeLibre:limit-fire-spread
VoxeLibre:fake-player-hardening
VoxeLibre:environment-physics
VoxeLibre:hollow_logs_improvements
VoxeLibre:compressed-blocks
VoxeLibre:chests_api_expand
VoxeLibre:improve_planks
VoxeLibre:tree_growth_buildable_to
VoxeLibre:buildable_flowers
VoxeLibre:upstream/rewritable_maps
VoxeLibre:textureconverter-improvement
VoxeLibre:mapgen_update
VoxeLibre:pickblock
VoxeLibre:mob_ignore_fix
VoxeLibre:mcl_mobs_cleanup
VoxeLibre:fix-kelp
VoxeLibre:upstream/unbreaking_on_crossbows
VoxeLibre:slabs_block_light
VoxeLibre:redstone-update
VoxeLibre:add_shader_support
VoxeLibre:EE_armor
VoxeLibre:world_aligned_textures
VoxeLibre:zombie_texture_improvements
VoxeLibre:mcl_weathered_nodes
VoxeLibre:orb_of_exchange
VoxeLibre:patch_skins
VoxeLibre:hollow_logs_ref_recovery
VoxeLibre:copper-adaptation-refs-recovery
VoxeLibre:add_asset_attributions_1
VoxeLibre:fix_pumpkin_typo_pumkin
VoxeLibre:cherry_grove
VoxeLibre:lush_caves
VoxeLibre:release/0.86.1
VoxeLibre:mobile_bow_workaround
VoxeLibre:release/0.85.1
VoxeLibre:optimize_jukebox_sounds
VoxeLibre:optimize_theme_ogg
VoxeLibre:Optimize_backgrounds_jpg
VoxeLibre:archaeology
VoxeLibre:spanish-translations
VoxeLibre:fish_bucket_nametag
VoxeLibre:villager-golem-fixes
VoxeLibre:fix_beetroot_fortune_drops
VoxeLibre:fix_sliding
VoxeLibre:illager_banner_description
VoxeLibre:release_0.83.1
VoxeLibre:skelly_horse_thunder
VoxeLibre:mobs_armor
VoxeLibre:mobsarmorfix
VoxeLibre:smoother_biome_borders
VoxeLibre:jukebox_sound_distance
VoxeLibre:cobble_abm_height
VoxeLibre:callable-tool-rightclick-functions
VoxeLibre:effects_rewrite
VoxeLibre:respiration
VoxeLibre:make-new-music-louder
VoxeLibre:damage
VoxeLibre:texture_conversion_wool
VoxeLibre:dehardcoded_signs
VoxeLibre:mcl_oxidization
VoxeLibre:Texture-Rename2
VoxeLibre:Bamboo-Piston-Dig
VoxeLibre:hardcore_mode_test
VoxeLibre:update_german_translation_attempt2
VoxeLibre:test_mob_tweaks_branch
VoxeLibre:csm-enabled
VoxeLibre:move_physics_tweak
VoxeLibre:water_footstep
VoxeLibre:biome_skycolor
VoxeLibre:bambootoo
VoxeLibre:lower_ow_mapgen
VoxeLibre:release/0.81.1
VoxeLibre:revert_chest_models
VoxeLibre:mcl-craftguide-drop-sfinv
VoxeLibre:mcl-structures-fixes
VoxeLibre:turtlestriderbeefox
VoxeLibre:arrow_node_collision
VoxeLibre:pvp_knockback
VoxeLibre:icebergs
VoxeLibre:light_dump
VoxeLibre:testing
VoxeLibre:mobs-redo
VoxeLibre:wood_api
VoxeLibre:mobs_head_rotation
VoxeLibre:bonemeal
VoxeLibre:dyable-leather-armor
VoxeLibre:new_mapgen_api
VoxeLibre:newmobs-master
VoxeLibre:formspec_overhaul
VoxeLibre:mobs
VoxeLibre:mapgen
VoxeLibre:mineclone5
VoxeLibre:chat-command-builder-2
VoxeLibre:formspec-v4
VoxeLibre:doc-refactoring
VoxeLibre:production
VoxeLibre:objects
isaacdennis:0.83.1
isaacdennis:0.83.0
isaacdennis:0.82.0
isaacdennis:0.81.1
isaacdennis:0.81.0
isaacdennis:0.80.1
isaacdennis:0.80.0
isaacdennis:mcl_signs_rewrite
isaacdennis:0.79.0
isaacdennis:0.78.0
isaacdennis:0.77.0
isaacdennis:0.76.0
isaacdennis:0.75.0
isaacdennis:0.74.0
isaacdennis:0.73.1
isaacdennis:0.73.0
isaacdennis:0.72.1
isaacdennis:0.72.0
isaacdennis:0.71.0
isaacdennis:0.70.0
isaacdennis:0.69.1
isaacdennis:0.69.0
isaacdennis:0.68.0
isaacdennis:0.67.2
isaacdennis:0.67.1
isaacdennis:0.67.0
isaacdennis:0.66.2
isaacdennis:0.66.1
isaacdennis:0.66.0
isaacdennis:0.65.2
isaacdennis:0.65.1
isaacdennis:0.65.0
isaacdennis:0.64.0
isaacdennis:0.63.0
isaacdennis:0.62.0
isaacdennis:0.61.0
isaacdennis:0.60.0
isaacdennis:0.59.2
isaacdennis:0.59.1
isaacdennis:0.59.0
isaacdennis:0.58.1
isaacdennis:0.58.0
isaacdennis:0.57.1
isaacdennis:0.57.0
isaacdennis:0.56.2
isaacdennis:0.56.1
isaacdennis:0.56.0
isaacdennis:0.55.1
isaacdennis:0.55.0
isaacdennis:0.54.1
isaacdennis:0.54.0
isaacdennis:0.53.4
isaacdennis:0.53.3
isaacdennis:0.53.2
isaacdennis:0.53.1
isaacdennis:0.53.0
isaacdennis:0.52.1
isaacdennis:0.52.0
isaacdennis:0.51.1
isaacdennis:0.51.0
isaacdennis:0.50.2
isaacdennis:0.50.1
isaacdennis:0.50.0
isaacdennis:0.49.0
isaacdennis:0.48.1
isaacdennis:0.48.0
isaacdennis:0.47.1
isaacdennis:0.47.0
isaacdennis:0.46.0
isaacdennis:0.45.1
isaacdennis:0.45.0
isaacdennis:0.44.0
isaacdennis:0.43.0
isaacdennis:0.42.0
isaacdennis:0.21.0
VoxeLibre:mcl_signs_rewrite
VoxeLibre:0.53.3
VoxeLibre:0.53.2
VoxeLibre:0.53.1
VoxeLibre:0.53.0
VoxeLibre:0.52.1
VoxeLibre:0.52.0
VoxeLibre:0.51.1
VoxeLibre:0.51.0
VoxeLibre:0.50.2
VoxeLibre:0.50.1
VoxeLibre:0.50.0
VoxeLibre:0.49.0
VoxeLibre:0.48.1
VoxeLibre:0.48.0
VoxeLibre:0.47.1
VoxeLibre:0.47.0
VoxeLibre:0.46.0
VoxeLibre:0.45.1
VoxeLibre:0.45.0
VoxeLibre:0.44.0
VoxeLibre:0.43.0
VoxeLibre:0.42.0
VoxeLibre:0.21.0
VoxeLibre:0.53.4
VoxeLibre:0.54.0
VoxeLibre:0.54.1
VoxeLibre:0.55.0
VoxeLibre:0.55.1
VoxeLibre:0.56.0
VoxeLibre:0.56.1
VoxeLibre:0.56.2
VoxeLibre:0.57.0
VoxeLibre:0.57.1
VoxeLibre:0.58.0
VoxeLibre:0.58.1
VoxeLibre:0.59.0
VoxeLibre:0.59.1
VoxeLibre:0.59.2
VoxeLibre:0.60.0
VoxeLibre:0.61.0
VoxeLibre:0.62.0
VoxeLibre:0.63.0
VoxeLibre:0.64.0
VoxeLibre:0.65.0
VoxeLibre:0.65.1
VoxeLibre:0.65.2
VoxeLibre:0.66.0
VoxeLibre:0.66.1
VoxeLibre:0.66.2
VoxeLibre:0.67.0
VoxeLibre:0.67.1
VoxeLibre:0.67.2
VoxeLibre:0.68.0
VoxeLibre:0.69.0
VoxeLibre:0.69.1
VoxeLibre:0.70.0
VoxeLibre:0.71.0
VoxeLibre:0.72.0
VoxeLibre:0.72.1
VoxeLibre:0.73.0
VoxeLibre:0.73.1
VoxeLibre:0.74.0
VoxeLibre:0.75.0
VoxeLibre:0.76.0
VoxeLibre:0.77.0
VoxeLibre:0.78.0
VoxeLibre:0.79.0
VoxeLibre:0.80.0
VoxeLibre:0.80.1
VoxeLibre:0.81.0
VoxeLibre:0.81.1
VoxeLibre:0.82.0
VoxeLibre:0.83.0
VoxeLibre:0.83.1
VoxeLibre:0.84.0
VoxeLibre:0.85.0
VoxeLibre:0.86.0
VoxeLibre:0.86.1
VoxeLibre:0.86.2
VoxeLibre:0.87.0
VoxeLibre:0.87.1
VoxeLibre:0.87.2
pull from: isaacdennis:fish_bucket_nametag
isaacdennis:fix-pt-br
isaacdennis:fish_bucket_nametag
isaacdennis:campfire_update
isaacdennis:credits_0_84
isaacdennis:master
isaacdennis:fix_cart_hopper_crash
isaacdennis:armor_trims
isaacdennis:liquids_rename
isaacdennis:reduce-explosiontimer_reset_radius
isaacdennis:villager-golem-fixes
isaacdennis:fix_beetroot_fortune_drops
isaacdennis:fix_sliding
isaacdennis:illager_banner_description
isaacdennis:release_0.83.1
isaacdennis:skelly_horse_thunder
isaacdennis:mobs_armor
isaacdennis:mobsarmorfix
isaacdennis:smoother_biome_borders
isaacdennis:jukebox_sound_distance
isaacdennis:cobble_abm_height
isaacdennis:callable-tool-rightclick-functions
isaacdennis:effects_rewrite
isaacdennis:respiration
isaacdennis:make-new-music-louder
isaacdennis:damage
isaacdennis:texture_conversion_wool
isaacdennis:dehardcoded_signs
isaacdennis:mcl_oxidization
isaacdennis:Texture-Rename2
isaacdennis:Bamboo-Piston-Dig
isaacdennis:hardcore_mode_test
isaacdennis:update_german_translation_attempt2
isaacdennis:test_mob_tweaks_branch
isaacdennis:csm-enabled
isaacdennis:move_physics_tweak
isaacdennis:water_footstep
isaacdennis:biome_skycolor
isaacdennis:bambootoo
isaacdennis:lower_ow_mapgen
isaacdennis:release/0.81.1
isaacdennis:revert_chest_models
isaacdennis:mcl-craftguide-drop-sfinv
isaacdennis:mcl-structures-fixes
isaacdennis:turtlestriderbeefox
isaacdennis:arrow_node_collision
isaacdennis:pvp_knockback
isaacdennis:icebergs
isaacdennis:light_dump
isaacdennis:testing
isaacdennis:mobs-redo
isaacdennis:wood_api
isaacdennis:mobs_head_rotation
isaacdennis:bonemeal
isaacdennis:dyable-leather-armor
isaacdennis:new_mapgen_api
isaacdennis:newmobs-master
isaacdennis:formspec_overhaul
isaacdennis:mobs
isaacdennis:mapgen
isaacdennis:mineclone5
isaacdennis:chat-command-builder-2
isaacdennis:formspec-v4
isaacdennis:doc-refactoring
isaacdennis:production
isaacdennis:objects
VoxeLibre:add-dynamic-rules
VoxeLibre:projectile-refactor
VoxeLibre:head-swivel2
VoxeLibre:hammers_spears
VoxeLibre:optimize-lightning
VoxeLibre:master
VoxeLibre:mapgen-test-branch
VoxeLibre:observers-swap-node
VoxeLibre:dead-player-in-inventory
VoxeLibre:burning_in_thunder
VoxeLibre:limit-fire-spread
VoxeLibre:fake-player-hardening
VoxeLibre:environment-physics
VoxeLibre:hollow_logs_improvements
VoxeLibre:compressed-blocks
VoxeLibre:chests_api_expand
VoxeLibre:improve_planks
VoxeLibre:tree_growth_buildable_to
VoxeLibre:buildable_flowers
VoxeLibre:upstream/rewritable_maps
VoxeLibre:textureconverter-improvement
VoxeLibre:mapgen_update
VoxeLibre:pickblock
VoxeLibre:mob_ignore_fix
VoxeLibre:mcl_mobs_cleanup
VoxeLibre:fix-kelp
VoxeLibre:upstream/unbreaking_on_crossbows
VoxeLibre:slabs_block_light
VoxeLibre:redstone-update
VoxeLibre:add_shader_support
VoxeLibre:EE_armor
VoxeLibre:world_aligned_textures
VoxeLibre:zombie_texture_improvements
VoxeLibre:mcl_weathered_nodes
VoxeLibre:orb_of_exchange
VoxeLibre:patch_skins
VoxeLibre:hollow_logs_ref_recovery
VoxeLibre:copper-adaptation-refs-recovery
VoxeLibre:add_asset_attributions_1
VoxeLibre:fix_pumpkin_typo_pumkin
VoxeLibre:cherry_grove
VoxeLibre:lush_caves
VoxeLibre:release/0.86.1
VoxeLibre:mobile_bow_workaround
VoxeLibre:release/0.85.1
VoxeLibre:optimize_jukebox_sounds
VoxeLibre:optimize_theme_ogg
VoxeLibre:Optimize_backgrounds_jpg
VoxeLibre:archaeology
VoxeLibre:spanish-translations
VoxeLibre:fish_bucket_nametag
VoxeLibre:villager-golem-fixes
VoxeLibre:fix_beetroot_fortune_drops
VoxeLibre:fix_sliding
VoxeLibre:illager_banner_description
VoxeLibre:release_0.83.1
VoxeLibre:skelly_horse_thunder
VoxeLibre:mobs_armor
VoxeLibre:mobsarmorfix
VoxeLibre:smoother_biome_borders
VoxeLibre:jukebox_sound_distance
VoxeLibre:cobble_abm_height
VoxeLibre:callable-tool-rightclick-functions
VoxeLibre:effects_rewrite
VoxeLibre:respiration
VoxeLibre:make-new-music-louder
VoxeLibre:damage
VoxeLibre:texture_conversion_wool
VoxeLibre:dehardcoded_signs
VoxeLibre:mcl_oxidization
VoxeLibre:Texture-Rename2
VoxeLibre:Bamboo-Piston-Dig
VoxeLibre:hardcore_mode_test
VoxeLibre:update_german_translation_attempt2
VoxeLibre:test_mob_tweaks_branch
VoxeLibre:csm-enabled
VoxeLibre:move_physics_tweak
VoxeLibre:water_footstep
VoxeLibre:biome_skycolor
VoxeLibre:bambootoo
VoxeLibre:lower_ow_mapgen
VoxeLibre:release/0.81.1
VoxeLibre:revert_chest_models
VoxeLibre:mcl-craftguide-drop-sfinv
VoxeLibre:mcl-structures-fixes
VoxeLibre:turtlestriderbeefox
VoxeLibre:arrow_node_collision
VoxeLibre:pvp_knockback
VoxeLibre:icebergs
VoxeLibre:light_dump
VoxeLibre:testing
VoxeLibre:mobs-redo
VoxeLibre:wood_api
VoxeLibre:mobs_head_rotation
VoxeLibre:bonemeal
VoxeLibre:dyable-leather-armor
VoxeLibre:new_mapgen_api
VoxeLibre:newmobs-master
VoxeLibre:formspec_overhaul
VoxeLibre:mobs
VoxeLibre:mapgen
VoxeLibre:mineclone5
VoxeLibre:chat-command-builder-2
VoxeLibre:formspec-v4
VoxeLibre:doc-refactoring
VoxeLibre:production
VoxeLibre:objects
isaacdennis:0.83.1
isaacdennis:0.83.0
isaacdennis:0.82.0
isaacdennis:0.81.1
isaacdennis:0.81.0
isaacdennis:0.80.1
isaacdennis:0.80.0
isaacdennis:mcl_signs_rewrite
isaacdennis:0.79.0
isaacdennis:0.78.0
isaacdennis:0.77.0
isaacdennis:0.76.0
isaacdennis:0.75.0
isaacdennis:0.74.0
isaacdennis:0.73.1
isaacdennis:0.73.0
isaacdennis:0.72.1
isaacdennis:0.72.0
isaacdennis:0.71.0
isaacdennis:0.70.0
isaacdennis:0.69.1
isaacdennis:0.69.0
isaacdennis:0.68.0
isaacdennis:0.67.2
isaacdennis:0.67.1
isaacdennis:0.67.0
isaacdennis:0.66.2
isaacdennis:0.66.1
isaacdennis:0.66.0
isaacdennis:0.65.2
isaacdennis:0.65.1
isaacdennis:0.65.0
isaacdennis:0.64.0
isaacdennis:0.63.0
isaacdennis:0.62.0
isaacdennis:0.61.0
isaacdennis:0.60.0
isaacdennis:0.59.2
isaacdennis:0.59.1
isaacdennis:0.59.0
isaacdennis:0.58.1
isaacdennis:0.58.0
isaacdennis:0.57.1
isaacdennis:0.57.0
isaacdennis:0.56.2
isaacdennis:0.56.1
isaacdennis:0.56.0
isaacdennis:0.55.1
isaacdennis:0.55.0
isaacdennis:0.54.1
isaacdennis:0.54.0
isaacdennis:0.53.4
isaacdennis:0.53.3
isaacdennis:0.53.2
isaacdennis:0.53.1
isaacdennis:0.53.0
isaacdennis:0.52.1
isaacdennis:0.52.0
isaacdennis:0.51.1
isaacdennis:0.51.0
isaacdennis:0.50.2
isaacdennis:0.50.1
isaacdennis:0.50.0
isaacdennis:0.49.0
isaacdennis:0.48.1
isaacdennis:0.48.0
isaacdennis:0.47.1
isaacdennis:0.47.0
isaacdennis:0.46.0
isaacdennis:0.45.1
isaacdennis:0.45.0
isaacdennis:0.44.0
isaacdennis:0.43.0
isaacdennis:0.42.0
isaacdennis:0.21.0
VoxeLibre:mcl_signs_rewrite
VoxeLibre:0.53.3
VoxeLibre:0.53.2
VoxeLibre:0.53.1
VoxeLibre:0.53.0
VoxeLibre:0.52.1
VoxeLibre:0.52.0
VoxeLibre:0.51.1
VoxeLibre:0.51.0
VoxeLibre:0.50.2
VoxeLibre:0.50.1
VoxeLibre:0.50.0
VoxeLibre:0.49.0
VoxeLibre:0.48.1
VoxeLibre:0.48.0
VoxeLibre:0.47.1
VoxeLibre:0.47.0
VoxeLibre:0.46.0
VoxeLibre:0.45.1
VoxeLibre:0.45.0
VoxeLibre:0.44.0
VoxeLibre:0.43.0
VoxeLibre:0.42.0
VoxeLibre:0.21.0
VoxeLibre:0.53.4
VoxeLibre:0.54.0
VoxeLibre:0.54.1
VoxeLibre:0.55.0
VoxeLibre:0.55.1
VoxeLibre:0.56.0
VoxeLibre:0.56.1
VoxeLibre:0.56.2
VoxeLibre:0.57.0
VoxeLibre:0.57.1
VoxeLibre:0.58.0
VoxeLibre:0.58.1
VoxeLibre:0.59.0
VoxeLibre:0.59.1
VoxeLibre:0.59.2
VoxeLibre:0.60.0
VoxeLibre:0.61.0
VoxeLibre:0.62.0
VoxeLibre:0.63.0
VoxeLibre:0.64.0
VoxeLibre:0.65.0
VoxeLibre:0.65.1
VoxeLibre:0.65.2
VoxeLibre:0.66.0
VoxeLibre:0.66.1
VoxeLibre:0.66.2
VoxeLibre:0.67.0
VoxeLibre:0.67.1
VoxeLibre:0.67.2
VoxeLibre:0.68.0
VoxeLibre:0.69.0
VoxeLibre:0.69.1
VoxeLibre:0.70.0
VoxeLibre:0.71.0
VoxeLibre:0.72.0
VoxeLibre:0.72.1
VoxeLibre:0.73.0
VoxeLibre:0.73.1
VoxeLibre:0.74.0
VoxeLibre:0.75.0
VoxeLibre:0.76.0
VoxeLibre:0.77.0
VoxeLibre:0.78.0
VoxeLibre:0.79.0
VoxeLibre:0.80.0
VoxeLibre:0.80.1
VoxeLibre:0.81.0
VoxeLibre:0.81.1
VoxeLibre:0.82.0
VoxeLibre:0.83.0
VoxeLibre:0.83.1
VoxeLibre:0.84.0
VoxeLibre:0.85.0
VoxeLibre:0.86.0
VoxeLibre:0.86.1
VoxeLibre:0.86.2
VoxeLibre:0.87.0
VoxeLibre:0.87.1
VoxeLibre:0.87.2
1 Commits
master
...
fish_bucke
Author | SHA1 | Message | Date |
---|---|---|---|
PrairieWind | ea45d66ee8 | Make named fish buckets place fish with a nametag that says that name |
1 changed files with 13 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
local MAX_MOB_NAME_LENGTH = 30
|
||||
|
||||
-- Fish Buckets
|
||||
local fish_names = {
|
||||
|
@ -29,6 +30,18 @@ local function on_place_fish(itemstack, placer, pointed_thing)
|
|||
if props ~= "" then
|
||||
o:set_properties(minetest.deserialize(props))
|
||||
end
|
||||
|
||||
local ent = o:get_luaentity()
|
||||
-- set nametag
|
||||
local nametag = itemstack:get_meta():get_string("name")
|
||||
if nametag ~= "" then
|
||||
if string.len(nametag) > MAX_MOB_NAME_LENGTH then
|
||||
nametag = string.sub(nametag, 1, MAX_MOB_NAME_LENGTH)
|
||||
end
|
||||
ent.nametag = nametag
|
||||
ent:update_tag()
|
||||
end
|
||||
|
||||
local water = "mcl_core:water_source"
|
||||
if n.name == "mclx_core:river_water_source" then
|
||||
water = n.name
|
||||
|
|
Write
Preview
Loading…
Reference in New Issue