I can remember that there was a Dummy CommandSource, unfortunately I don't know whether it still exists and if so in which class, I also don't know whether you should use it.
which command do you want to execute? since there is usually another possibility to execute the command code without using a command
i'm not familiar with all render stuff, but ModelRenderer should be fields,
also you need to overwrite the methode renderToBuffer and take a look into the vanilla ArmorModel
in eclipse:
right click project -> Run As -> Run Configurations -> select project -> Arguments -> add '--stacktrace'
or:
at the top Run -> Run Configurations -> select project -> Arguments -> add '--stacktrace'
You need to create an EntityRenderer for your Entity, register the Renderer in the FMLClientSetup use RenderingRegistry#registerEntityRenderingHandler, also take a look at some vanilla examples how to render an Entity
1.16.4 use mcp mappings, the most versions of 1.16.5 use moj mappings
but when you update your mod you need to update most of the methods/fields,
and depending on how big your mod is this will be a lot of work, and if you don't really need it, don't do it (my opinion)
You are using an outdated mapping version called mcp,
methods and fields have different names compared to the latest mappings version called moj,
so the you need to add 'notSolid' to the Block.Properties
and btw, you should update to the latest version (not absolutely necessary)
villager can trade an enchantment, if the method Enchantment#isTradeable returns true
a LootTable can contain the enchantment, if the method Enchantment#isDiscoverable returns true
both methods return true by default