-
Use diffrent dimension.json based on if a mod is installed
define and register the dimension in code. Then you can do that
-
Ambient Light of Dimension does not allow crops to grow
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?
-
Weird fluid and item giving behaviours
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.
-
Weird fluid and item giving behaviours
Thank you for the help. I will see if that is the case.
-
Weird fluid and item giving behaviours
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
-
Texture Atlas Stitching
I found out how to do it by looking at vanilla atlases!
-
scaling gui elements
Fixed it, was calling scale before drawing everything else!
-
scaling gui elements
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?
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?
TreeConfiguration.TreeConfigurationBuilder.dirt(BlockStateProvider)
-
Custom Model not updating correctly
edit: I fixed it. The cap data does not get synced S2C for some reason.
-
Custom Model not updating correctly
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
-
adding an inventory and container to an item (backpack)
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]
make a custom model loader.
-
Register Items on Data Pack load (1.19.4)
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?
IPS spam blocked by CleanTalk.