-
Posts
60 -
Joined
-
Last visited
Converted
-
Gender
Undisclosed
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
BURN447's Achievements
Stone Miner (3/8)
0
Reputation
-
Any ideas? I'm lost, and I can't get my mod to build into a Jar at all, which is severely hampering my ability to release a new version.
-
I'm running into an issue when I run gradlew build, but I run into the issue where I get returned an issue saying Cause: Duplicate Entry: I've run ./gradlew build --stacktrace and the output was I'm not sure what to do in this case. I've reinstalled forge and run ./gradlew cleanCache and ./gradlew clean
-
Figured it out using this solution https://stackoverflow.com/questions/27623326/minecraft-forge-not-loading-textures
-
I'm running into an issue where my mod is not loading any asset files, including block models or language files. I'm honestly not sure what can be causing it, as I have tested with a different modid and not made any progress. Here is a log, and the source can be found at https://github.com/BURN447/DartcraftReloaded
-
Item Capability not saving one field during world reload
BURN447 replied to BURN447's topic in Modder Support
I'm sorry about getting slightly frustrated about that. I can't believe I missed that in all my bug hunting. -
Item Capability not saving one field during world reload
BURN447 replied to BURN447's topic in Modder Support
It's supposed to be null if there is no blockstate stored in the wrench. That's why I was checking if == null. I was told to look at 1 line of code that I already checked out all combinations of. -
Item Capability not saving one field during world reload
BURN447 replied to BURN447's topic in Modder Support
So with this, If I don't have the null checks, I end up crashing from a value cannot be null exception. The value is going to be null if there is no data stored in the capability and will be ~null if there is a block stored in the wrench. Is there any sort of hint you can give, cause I know you don't like giving code to modders. -
So I've run into an odd problem, My capability is not saving one of its fields between world loads. However, it is saving the other field. I can't quite figure out why it is happening, and I'd be appreciative of any help anyone can provide. Item Class: https://github.com/BURN447/DartcraftReloaded/blob/master/src/main/java/burn447/dartcraftReloaded/Items/Tools/ItemForceWrench.java Capability Package: https://github.com/BURN447/DartcraftReloaded/tree/master/src/main/java/burn447/dartcraftReloaded/capablilities/ForceWrench
-
You 100% need to know basic programming principles, such as counters, classes, abstraction, etc. to be able to do anything higher level than a pretty basic mod. There's a reason that nearly every Modding tutorial recommends learning java first, otherwise you're just going to be copy and pasting code that you don't understand. This can lead to extremely inefficient code and code that just flat out is unnecessary and useless.
-
I would, but this only occurs after hours and hours of continuous play, and I haven't been able to find any way to replicate the bug. It just happens, without anything specific I've been able to pin down.
-
I'm running into an issue that I cannot replicate, but randomly when using one of my items that has a custom capability attached, it randomly resets/disappears back to the default. I'm assuming this happens after damage, but I have not been able to find any relation between when this happens. Would anyone know a reason behind these capabilities resetting to their default state? Capability Code: https://github.com/BURN447/DartcraftReloaded/tree/master/src/main/java/burn447/dartcraftReloaded/capablilities/ToolModifier Item it is resetting on: https://github.com/BURN447/DartcraftReloaded/blob/master/src/main/java/burn447/dartcraftReloaded/Items/ItemArmor.java If this doesn't work, I'll probably just rewrite my code to use hidden enchantments
-
How would I go about that? I haven't been able to find any resources on how to do that, and I can't think of any mods that do this to look at.
-
I'm trying to add mobs drops to bats through code, but I can't find the loot pool to edit because the bat.json file is empty. Is there a certain way I should do this? Code: https://github.com/BURN447/DartcraftReloaded/blob/master/src/main/java/burn447/dartcraftReloaded/Events/lootTableLoadEvent.java
-
I'm not 100% sure what I'm doing wrong, since I've been fine on my other two tile entities. I'm not creating a Tile Entity at all on block placement. Tile Entity Class: https://github.com/BURN447/DartcraftReloaded/blob/master/src/main/java/burn447/dartcraftReloaded/tileEntity/TileEntityTimeTorch.java Block Class: https://github.com/BURN447/DartcraftReloaded/blob/master/src/main/java/burn447/dartcraftReloaded/blocks/torch/BlockTimetorch.java Proxy with Registration: https://github.com/BURN447/DartcraftReloaded/blob/master/src/main/java/burn447/dartcraftReloaded/proxy/CommonProxy.java Full Repository: https://github.com/BURN447/DartcraftReloaded