Jump to content

LazyTechwork

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by LazyTechwork

  1. Well, fixed at https://github.com/BluSunrize/ImmersiveEngineering/issues/5178
  2. Hello! I have a problem with adding Immersive Engineering as a dependency. Error string: Mixin apply failed immersiveengineering.mixins.json:accessors.EntityAccess -> net.minecraft.world.entity.Entity: org.spongepowered.asm.mixin.gen.throwables.InvalidAccessorException No candidates were found matching f_19831_:I in net/minecraft/world/entity/Entity for immersiveengineering.mixins.json:accessors.EntityAccess->@Accessor[FIELD_GETTER]::getRemainingFireTicks()I [INJECT Applicator Phase -> immersiveengineering.mixins.json:accessors.EntityAccess -> Apply Accessors -> -> Locate -> immersiveengineering.mixins.json:accessors.EntityAccess->@Accessor[FIELD_GETTER]::getRemainingFireTicks()I] I manually found public int getRemainingFireTicks() at net.minecraft.world.Entity, but Minecraft does not see it. Used dependencies: implementation fg.deobf("blusunrize.immersiveengineering:ImmersiveEngineering:1.18.1-7.1.0-145") implementation fg.deobf("blusunrize.immersiveengineering:ImmersiveEngineering:1.18.1-7.1.0-145:datagen")
  3. Hey, I have problem with loading my mod assets. They're just not loading, Language files are not loaded too, testing through TextComponentTranslate: sender.sendMessage(new TextComponentTranslation("tpcontrol:advancements.tpcontrol.popular_one.title")); sender.sendMessage(new TextComponentTranslation("advancements.tpcontrol.popular_one.title")); sender.sendMessage(new TextComponentTranslation("advancements.story.lava_bucket.title")); I've tried to get advancements through Advancement Manager, and there are no my advancement. event.getSender().getServer().getAdvancementManager().reload(); event.getSender().getServer().getAdvancementManager().getAdvancements().forEach((Advancement advancement) -> TPControl.LOGGER.info(advancement.getId())); Mod options tab also not showing my mcmod.info: This is my mod repository - https://github.com/LazyTechwork/TPControl Please help me
  4. Hello! I have a problem with a custom fluid. It's a steam. But it hasn't texture Source code: https://github.com/LazyTechwork/AtomicEnergy/tree/master/src/main/java/com/lazytechwork/atomicenergy/fluids What's wrong?
      • 1
      • Confused
  5. Magically solved ?
  6. I added dependency to support JEI: dependencies { deobfProvided "mezz.jei:jei_${mc_version}:${jei_version}:api" runtime "mezz.jei:jei_${mc_version}:${jei_version}" } After I ran gradlew build (don't know why) and this cause a lot of errors (Cannot resolve symbol on FMLInitializationEvent and etc.). How to fix all?
  7. So, after that I spawn new entityitem: @Override public boolean onEntityItemUpdate(EntityItem entityItem) { World world = entityItem.world; if (world.isRemote) { world.createExplosion(entityItem, entityItem.posX, entityItem.posY, entityItem.posZ, 0f, true); world.removeEntity(entityItem); world.spawnEntity(new EntityItem(world, entityItem.posX, entityItem.posY, entityItem.posZ, new ItemStack(ItemsRegistry.URANIUM, 1))); } return super.onEntityItemUpdate(entityItem); } But, I can't pickup new EntityItem. How can I fix this?
  8. Hello! I have onUpdate method onUpdate(ItemStack stack, World worldIn, Entity entityIn, int itemSlot, boolean isSelected) I need to check - is item in world as dropped item, after that I need to change item to another. How can I do this?
×
×
  • Create New...

Important Information

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