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

s0meg

Members
  • Posts

    8
  • Joined

  • Last visited

s0meg's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Update: The issue seems to have fixed itself. Thank you for your help
  2. I have made sure that there are no typos in any of the Java files or the JSON files that I edited. I took a closer look at it and it seems that the mod itself is not loading when booting the game through the IDE.
  3. Hello. I recently added another music disc to the mod that I have been working on. When I ran the mod, the items, blocks, dimensions and biomes that I coded were not being loaded and according to the log, they are missing IDs. I'm not sure what caused this error and am extremely freaked out because I don't want to restart! I have attached a copy of the log from IntelliJ. As it is too large of a file, I have only attached the part of it that I think is relevant to this situation. Please let me know if you would like to see the whole thing. Any help would be greatly appreciated!
  4. I'm trying to implement durability on an item which transports the player to another dimension on right click. I want the durability to decrease every time it is used, but I do not want the item to disappear once the durability is 0. Here is the current code I have: public class TeleportationStickItem extends Item { public TeleportationStickItem(Properties properties) { super(properties); } @Override public ActionResult<ItemStack> onItemRightClick(World world, PlayerEntity player, Hand hand) { if (!world.isRemote) { player.changeDimension(world.dimension.getType() == DimensionType.byName(WoAiNiMod.DRUG_DIM_TYPE) ? DimensionType.OVERWORLD : DimensionType.byName(WoAiNiMod.DRUG_DIM_TYPE), new VoidTeleporter((ServerWorld) player.getEntityWorld())); } return super.onItemRightClick(world, player, hand); } } Please let me know if there is anything that can help!
  5. Do you have a specific class I could start with?
  6. I've tried looking on this website as well as many others, but I cannot seem to find an answer for this. I was hoping to create a portal similar to one for the Nether using different blocks instead of Obsidian. I already have created a dimension, but the only thing that is missing is the portal for said dimension. Please let me know if there is a way I can do this!
×
×
  • Create New...

Important Information

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