1/13/2024 0 Comments Mcreator custom code![]() I hope you will be able to help, but nevertheless, you are awesome no matter what you do, and thank you for the previous request! :D To see how you can add custom animations to custom entity models without GeckoLib becouse it's outdated.To see how you can resize vanilla models (I'm particularily interested in a mob that has the same model as a slime, but a different texture, and how you can set it's size).I want to see how you can resize vanilla models, that are in MCreator, and add animations to custom entity models.ĭescribe any new features you want to be added.A lot of people have been wanting to know how to make entity animations, and resize vanilla and custom entity models.That is regarding entity models, I know how to make them in Blockbench, but I want to know how to be able to resize them and add animations. Import class MCreatorFlowerPotwithflower extends Elementstravelers_dream_blocks.Hi, I've already posted a request here, and you responded and made it a video, and I'm super thankful for that! I've got one more thing that I would like to see, regarding custom entities, and MCreator forums have sadly been unhelpful about it. My flower pot class: package _dream_blocks I don't like the first and the last lines,I don't know exactly how to get access to color property IBlockState blockState = world.getBlockState(pos) Int color = blockState.getValue(lor) // my attempt to get PropertyInteger value from pot class My flower pot procedure is almost the same as in the tutorial :I check for a flower block pot with "if getblock at x,y,z is flowerpot and item in entity main hand is dye4 do" and then lines in code snippets: Run with -info or -debug option to get more log output. Run with -stacktrace option to get the stack trace. > Compilation failed see the compiler error output for details. Note: Recompile with -Xlint:deprecation for details.Įxecution failed for task ':compileJava'. Note: Some input files use or override a deprecated API. V extends T declared in method withProperty(IProperty,V) T extends Comparable declared in method withProperty(IProperty,V) (argument mismatch int cannot be converted to IProperty) Reason: cannot infer type-variable(s) T,V ![]() tBlockState(pos, blockState.withProperty(color, Integer.valueOf(4)), 3) ![]() Location: class MCreatorFlowerPotwithflowerOnBlockRightClickedĬ:\Users\Dary\MCreatorWorkspaces\travelers_dream_blocks\build\sources\main\java\net\mcreator\travelers_dream_blocks\MCreatorFlowerPotwithflowerOnBlockRightClicked.java:51: error: method withProperty in interface IBlockState cannot be applied to given types Location: class MCreatorFlowerPotwithflowerĬ:\Users\Dary\MCreatorWorkspaces\travelers_dream_blocks\build\sources\main\java\net\mcreator\travelers_dream_blocks\MCreatorFlowerPotwithflowerOnBlockRightClicked.java:48: error: cannot find symbol Recompilation error: C:\Users\Dary\MCreatorWorkspaces\travelers_dream_blocks\build\sources\main\java\net\mcreator\travelers_dream_blocks\MCreatorFlowerPotwithflowerOnBlockRightClicked.java:48: error: cannot find symbol Thanks in advance for any help or response) I know, that my silly attempt to do this hard work is not the same as working vanilla cauldron things, but I really want to understand what's wrong. But when I tried to run a right-click procedure folowing this tutorial, I get plenty of errors.It can't find almost every variable=(The same was with the changed code made by hand,it cannot access PropertyInteger variable from there. I'm trying to make my flower pot change material of the pot by right-click with a dye.I made some changes in the pot class,folowing modding tutorials, to create new PropertyInteger for colors.Changes were accepted by a recompilation, the client runs. I recently came across this awesome tutorialĪnd thought that it could help me with my mod.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |