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


Forge Modder
  • Posts

  • Joined

  • Last visited


  • Gender
  • Location
  • Personal Text
    Kweh! Master

Recent Profile Visitors

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

Torojima's Achievements

Creeper Killer

Creeper Killer (4/8)



  1. I am trying to implement conditional recipes and therefore would like to create a class implementing IRecipeFactory. But in the latest forge I can not find this interface anymore. Any pointers where it went? Or if it is not present any more if and how it has been replaced?
  2. That would be what I have in mind I haven't found anything regarding this in the docs. Do you have some pointers where I can find out how to do this?
  3. really? yes, recipes are only in existence when the json file is created. What I have done is creating json files for recipes. This should be the default. But I want to give the users the opportunity to disable the recipes by a config file entry... anyway ...
  4. is there a way to disable recipes of mod items? Thus having a boolean (that ultimately can be stored in the mods config) that will decide if an items recipe will be enabled. I was thinking of making certain items of my mod only available in creative or by directly creating it instead of creating it by crafting.
  5. Thank you the property override works perfectly and after I recognised the models subfolder is called "item" instead of "items" like all the other subfolders, also the model json files have been found
  6. I am still convinced a book is much better in the long run than any video. in a book you can mark pages with postits for later reference stop and exercise the learned yourself jump back and forth to your hearts content in seconds have the book next to your computer and using the monitor to actually doing what is described in the book reading it offline, for example sitting in the garden (ok, not very good right now in middle of Europe ) Videos are good for collecting a first impression, but in my experience, you'll need more than that. For example ... a book... If you don't want to pay the full price, buy a used book (rebuy.de, booklooker.de or ebay.de). Still I think you'll find many good books in your local library (they still a think in Germany, they are fully governmental subsidised and you will find a lot of good books, not only for programming, but everything else, including fiction.... read a book!). Last, but not least, if you can buy a computer, you can buy a book for 20 bucks. Invest in your future... I like the "Head First" approach, so look for "Head First Java" or in German "Java von Kopf bis Fuß". You will get it on amazon.de in the used section for 20 bucks ...
  7. oh, of course, I didn't think of that!! And aaargh, it changed from wood to wooden
  8. My daughter (12) is using scratch to program a little cozmo robot and the Lego robotics system ... Everybody is hyping this scratch stuff over the horizon ... I am not convinced it is much more than a toy. It will give some rather shallow insights into programming, but will not teach anything about programming structures. Neither functional, nor object oriented ... Yes, it is possible to create some impressive stuff using scratch. I have seen a complete PID controller programmed in scratch, holding a Lego Robot on two wheels in the upright position. The script is completely mind bending, but it can be done. Nevertheless, the ppl doing that have used their deep understanding of programming and PID controllers received before playing with scratch, to do so @Draco18s Hehe, your analogy is splendid, I love it Edit.: second life is still a thing? I thought it died a well deserved death ages ago?
  9. indeed, the link is for buying a book. There are other books and I have merely linked the first one I came across ... You could also went to the local Library and read one for free ... Yes there are as well free Java tutorials in the world wide web ... I am very confused you have not searched for them yourself at this point?!
  10. btw, now that you've mentioned this, I think I had put the logoFile entry at first also beneath the [[mod]] entry and was puzzled why id didn't work. Only then I checked with the forge mods.toml (I am trying to remember why I have checked with the forge mods.toml in the first place) ... This actually could be a bug in the example mod ...
  11. @Drachenbauer I think you have to start with something like this: https://www.amazon.de/Programmieren-lernen-mit-Java-Programmieranfänger/dp/3836256053/ref=sr_1_4?keywords=java+kurs&qid=1552152714&s=gateway&sr=8-4 I presume from your nick and your posts, you're more familiar with German than English ... (no, I won't get any bonus from other ppl clicking on the link) Modding is not just clicking some bits of code together copied (aka stolen) from other ppl, but intrinsic understanding programming as a craft. If you do not, you will not be successful with any kind of more sophisticated mod. This does not imply by any means others will not help you with their code samples. Just check one of the threads I had started earlier in this forum where I've discussed torch placement. There another modder basically told me "I am doing it like this" in two lines of code. I checked what the lines are doing, converted to my needs and implemented them into my code. My code is openly available on gitHub, like so many other mods sources. I encourage everybody to check it out and learn from it, like I like to read other modders codes to better understand what's going on. But I would not plainly copy their code, nor would I be very happy when other ppl are coping my code... So, your course of action would be - learn programming - learn Java - understand forge (at least a bit, I still are puzzled about it every now and then ;D) - start modding
  12. In 1.12.x there had been an minecraft vanilla class ItemMeshDefinition to define variable render icons based on whatever decision made in a method getModelLocation. This could be registered in public void onRegisterModels(ModelRegistryEvent event) using ModelBakery.registerItemVariants and ModelLoader.setCustomMeshDefinition. ItemMeshDefinition is no longer present in the Minecraft source and I don't think it's just a name change. I didn't find any respective class in the mc source. So, my question is how to create items with variable icons in 1.13.2? Does anybody has a pointer towards a respective doc or tutorial?
  13. Makes sense because I now are using stuff like "tag": "forge:nuggets/gold" and "tag": "forge:ingots/gold" instead of formerly "type": "forge:ore_dict","ore": "nuggetGold" and "type": "forge:ore_dict","ore": "ingotGold" this is working well of course But what I haven't found yet is a substitute for "type": "forge:ore_dict", "ore": "treeSapling", or "type": "forge:ore_dict","ore": "stickWood" so my mod would be able to use all other mods stick or sapling derivatives. I fell back to the minecraft vanilla "item": "minecraft:stick" and "tag": "minecraft:saplings". But now users can only use the vanilla items for the recipes obviously The "tag": "forge:stick/wood" didn't do the trick... Is there a list of available forge tags to use. Since you (@Choonster) mentioned the forge oredict items are now probably available as tags, I would like to use them.
  14. thank you iuc.getWorld().setBlockState(torchPos, Blocks.WALL_TORCH.getDefaultState().with(BlockHorizontal.HORIZONTAL_FACING, iuc.getFace())); now does the trick
  • Create New...

Important Information

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