Skip to content

Instantly share code, notes, and snippets.

View fluxionary's full-sized avatar

fluxionary

View GitHub Profile
@fluxionary
fluxionary / 4Yad.lua
Created February 27, 2023 00:53
example code for Yad
local elapsed = 0
minetest.register_globalstep(function(dtime)
elapsed = elapsed + dtime
if elapsed < 1 then return end
elapsed = 0
for _, player in ipairs(minetest.get_connected_players()) do
local player_name = player:get_player_name()
local pos = vector.round(vector.offset(player:get_pos(), 0, -0.5, 0))
local spos = minetest.pos_to_string(pos)
local node_name = minetest.get_node(pos).name

meta:

  • init_mod tool for creating skeletons for a new mod from templated files

server-side mods:

  • action_queues provides an API for queuing things for batch processing w/ various ways to specify the batch "size".
  • bones redo tries to make placing bones more "reliable", and creates an "entity" if a "node" cannot be placed.
  • boomstick
-- Minetest client settings to improve FPS
-- DO NOT REPLACE YOUR minetest.conf WITH THIS; GO INTO ADVANCED SETTINGS AND CHANGE THESE
-- In the main settings dialog:
-- * NO particles
-- * NO 3d clouds
-- * OPAQUE leaves
-- * OPAQUE water
-- * NO texturing filter
-- * YES Mipmap + Aniso. Filter