
Vakror
Members-
Posts
43 -
Joined
-
Last visited
Everything posted by Vakror
-
Use diffrent dimension.json based on if a mod is installed
Vakror replied to LeTrav's topic in Modder Support
define and register the dimension in code. Then you can do that -
In my custom dimension with an ambient light of 9, crops will not grow (my dimension has a ceiling). Ambient Light seems to not count toward LevelLightEngine.getRawBrightness(blockpos, int). Crops call this in CropBlock.canSurvive(). Is there a way to have crops grow from this ambient light?
-
I see the mistake. The level.tick(BooleanSupplier) method is not being called if the capability isn't attached, which it only is when the dimension is hammerspace.
-
Thank you for the help. I will see if that is the case.
-
I made my mod, hammerspace, and added some stuff to it (level caps, packets for syncing it, and mixin). After that, fluids do not flow and items given to you end up in your inventory as well as dropping. That is what I have noticed so far. I have ABSOLUTELY NO IDEA. What is causing this and have been trying to fix it for FOUR DAYS. Can someone please help me. Github Repo: https://github.com/soulbound-devs/hammerspace
-
I found out how to do it by looking at vanilla atlases!
-
Fixed it, was calling scale before drawing everything else!
-
How do I scale gui elements without scaling everything? When i tried matrices.scale(scale, scale, scale), it scaled the whole gui.
-
Method to change the "dirt" of a tree using BaseTreeFeatureConfig?
Vakror replied to PortsNotAlt's topic in Modder Support
O nvm you're on 1.16.5. Using the BaseTreeFeatureConfig.Builder, you cannot do this I think (you can maybe do it in the sapling provider if that exists in 1.16) -
Method to change the "dirt" of a tree using BaseTreeFeatureConfig?
Vakror replied to PortsNotAlt's topic in Modder Support
TreeConfiguration.TreeConfigurationBuilder.dirt(BlockStateProvider) -
edit: I fixed it. The cap data does not get synced S2C for some reason.
-
I have updated my mod from 1.18 to 1.19. I have a custom model loader implemented, with an item override list that reads nbt data from an item capability. However, when this data in the capability changes, the model only updates once the item is dropped. GitHub: https://github.com/soulbound-devs/ASM/tree/main/src/main/java/net/vakror/asm/model
-
I have been trying for like two weeks to make a backpack item, searching everywhere and looking at SO MANY backpack mods, but I cannot find how to do it. Can anyone explain?
-
Switch Textures based on EnumProperty [1.19.4]
Vakror replied to Simon Hamanek's topic in Modder Support
make a custom model loader. -
I am trying to add a system where people can add custom seals, which are items, from JSON files in a datapack. I got it to read the JSON but it crashes because RegistryEvent has already fired. When mixins are used to unfreeze the registry, the Items are not added in. How do I add items when a datapack is loaded?
-
I've been modding forge and fabric for a while now. Why does forge use its DeferredRegister instead of vanilla registries?
-
I just updated my minecraft version. Before, I was using the "TextureStitchEvent.Pre" to stitch textures. Now it says Use atlas info JSON files instead. I have no idea how to do that.
-
It works for all other transforms. Just not making classes public
-
I am trying to make the class "NamespacedHolderWrapper" public with an access transformer. I have specified it in "build.gradle" at the correct position but a gradle reload does not apply the changed in Intellij Idea.
-
Thank you. I have been searching for so long lol
-
I am currently adding a flying broom to my mod, but I am having trouble with making it verticially controlable. Is that possible, if so how?
-
How do I make a block that, when used, teleports me to a custom dimension?
-
I am trying to add a custom dimension in 1.19.2 and whenever someone enters a portal, they get placed at the start of a dungeon (sorta like vault hunters). I know how to generate jigsaw structures, but how do I do this?
-
as well as in f3 menu, the biome shows on the surface