Jump to content

BURN447

Members
  • 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

Stone Miner (3/8)

0

Reputation

  1. 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.
  2. 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
  3. Figured it out using this solution https://stackoverflow.com/questions/27623326/minecraft-forge-not-loading-textures
  4. 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
  5. I'm sorry about getting slightly frustrated about that. I can't believe I missed that in all my bug hunting.
  6. 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.
  7. 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.
  8. 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
  9. 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.
  10. 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.
  11. You need to allocate more memory. This section outlines that the garbage collector has run out of memory. In this case you're going to need to allocate more memory. How much memory do you currently have avaliable in your system and how much is allocated to the game?
  12. 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
  13. 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.
  14. 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
  15. 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.