Made AbstractCTMBakedModel extends BakedModelWrapper instead of implement IDynamicBakedModel and remove redundant proxying
Pass the layer that we have stored when proxying calls to getQuads(BlockState, Direction, RandomSource) to the overload with ModelData, and RenderType
Replace a couple use cases of getParent(RandomSource) with calling super and allowing the WeightedBakedModel implementation of said methods to handle calculating which model to use
Allow the wrapped model to add to the model data
Proxy both getParticleIcon methods
Cache whether the parent's layers contain the layer and also have some fallback logic to attempt to determine if it is an item render type that is being passed in. This fixes an issue for mods that try to render the json block model as part of their ISBER as they will be passing render types gotten from getRenderTypes(ItemStack, boolean)
getParent(RandomSource)
with calling super and allowing theWeightedBakedModel
implementation of said methods to handle calculating which model to usegetParticleIcon
methodsgetRenderTypes(ItemStack, boolean)