Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Mightydanp

Members
  • Content Count

    214
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Mightydanp

  • Rank
    Creeper Killer

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello I have a big question on how to do something. My question is that I have a item that has a gui. The gui has 3 slots. The item is a tool that you can change the items out. When you change out the items the items save data to nbt. such as mining speed, durability, enchants, color of the layer of that item. What would be the best way to implement this? Would I have problems setting the value of the tool after changing out the part? Would there be texture issues because changed the color of the tool? if so isn't there a way to refresh the items texture? For an example of a tool I have
  2. also i not using data generators i just have them set up so i dont know why its not working
  3. ive just tried that still nothing drops https://pastebin.com/JAjCZsr3
  4. i am not getting anything back when I break it
  5. I have my gradle set up do register generated, I have my datagen set up for blockstates and models. i currently have generated\resources\assets\industrialtech\loot_tables\blocks,rock_block.json here is my json https://pastebin.com/xJF8gkFp here is my rockblock.java https://pastebin.com/sZuDfucc
  6. what is MyCustomCapabilities and MyCustomIItemHandlerProvider i am trying to recreate this instead of making a brand new player inventory aswell in screen.blint it is now missing MatrixStack i have no idea what that is
  7. i just figured that out. i got it to generate almost all files correctly it generates a \industrialtech\models\block\ore\andesite_ore.json aswell for some reason that i dont know. What part of my could do i chance to generate a model file for andesite_ore. Also is there not a way to get models/item instead of generating everyting there generate it in models/items/ore? atm i dont know how to classify where the resource location is for a block or item
  8. this is what my files are sepost to look like
  9. sweet i got it to find my file but i get a crash on line 51 so i am doing something wrong https://github.com/mightydanp/IndustrialTech/blob/master/src/main/java/mightydanp/industrialtech/api/common/datagen/BlockStates.java#L51 [23:13:38] [main/INFO] [minecraft/DataGenerator]: Starting provider: Block States: industrialtech Exception in thread "main" [23:14:00] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException [23:14:00] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]
  10. everything inside src/main/resources will be loaded but everything like src/main/resources/industrialcraft wont ?
  11. rebuilding runs fix the problem my only problem atm is i have a IndustrialTech\src\main\resources\assets\industrialtech\models\block\ore\stone_ore.json and i get Caused by: java.lang.IllegalStateException: Model at industrialtech:block/ore/stone_ore does not exist i have it setup like so ModelFile ore = models().withExistingParent(oreName, modId + ":block/ore/" + stoneVariant + "_ore"); i have data { workingDirectory project.file('run') // Recommended logging data for a userdev environment property 'forge.logging.mark
  12. might not have updated it on github but i do have @Mod.EventBusSubscriber(bus = Bus.MOD, modid = Ref.mod_id) public class DataGenEventHandler {
  13. But its not in the same class so i just follow that so why do you keep quoting something i already am following
  14. This is very irritating because its still wont pass into registerStatesAndModels nomatter what i do.
  15. so now i have for(RegistryObject<Block> blockRegistered : material.blockOre) { Block oreBlock = blockRegistered.get(); VariantBlockStateBuilder builder = getVariantBuilder(oreBlock); String modId = oreBlock.getRegistryName().toString().split(":")[0]; String oreName = oreBlock.getRegistryName().toString().split(":")[1]; String stoneVariant = oreBlock.getRegistryName().toString().split(":")[1].split("_")[0]; ModelFile ore = models().withExistingParent(oreName, "block/ore/" + stoneVariant + "_ore"); builder.forAllStates(state -> ConfiguredModel.builder().
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.