Jump to content

Aj3douglas

Members
  • Posts

    5
  • Joined

  • Last visited

Aj3douglas's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hello all, im using the ` RenderGameOverlayEvent.Post` in past this has had a .getResolution method, this method no longer exists, and im just wondering what method I should use to get the screen resolution so I Can scale text to the rig ht location
  2. Hello, I want to make a player walk to a location on an event, I'm fairly new to forge, however I am not new to java. I have setup the event listener, however the bit I do not know how to do is making the player walk to a location. Any help would be appreciated. Thanks!
  3. Hello, Im wanting to make a mod that has enchantment upgrades, ie. Sharpness upgrade, efficiency etc etc. I want it so when you craft an item with that it upgrades the enchantment level by one on the item. I do not want to be able to put sharpness on pickaxes however. Where should I get started with this? Each upgrade would need a different texture as well,
  4. Hello, Im making a mod that has alot of custom swords, the only thing that changes in the sword is the material used to craft it, it has the same crafting pattern for each sword, do I have to write out a json file for each sword?
  5. Hello, Im fairly new to modding, however I am not new to java. I Want to get an ingredient, in my config file I either wanna specify "minecraft:cobblestone" or "logs", I have these methods to try and deal with that private fun resolveItemTag(tagName:String):Tag<Item> = ItemTags.getCollection()[ResourceLocation(tagName)] ?: throw RuntimeException("The item tag $tagName does not exist!") private fun resolveIngredient(material:String):Ingredient = if(material.contains(":")) Ingredient.fromItems(resolveItem(material)) else Ingredient.fromTag(resolveItemTag(material)) private fun resolveItem(registryName:String):Item = ForgeRegistries.ITEMS.getValue(ResourceLocation("minecraft")) ?: throw RuntimeException("The item $registryName does not exist!") However I get "The item tag logs does not exist!"
×
×
  • Create New...

Important Information

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