Jump to content

FLUFFLE PUFF

Members
  • Posts

    19
  • Joined

  • Last visited

Everything posted by FLUFFLE PUFF

  1. oops...i did'nt know that FMLClientSetupEvent is placed on main mod class. I FINALLY did it, THANK you for answer
  2. Sorry for stupid questions, but how to register property in FMLClientSetupEvent?
  3. I have png of my sword item with all the frames, how to set other png to my item when left mouse clicked?
  4. Here is my code: public static class bettermushroomstab extends ItemGroup { public bettermushroomstab(String label) { super("bettermushroomstab"); this.setBackgroundImage("Bettermushroomstab.png"); } private void setBackgroundImage(String string) { // TODO Auto-generated method stub } @Override public ItemStack makeIcon() { return ItemInit.COOKEDMUSHROOM.get().getDefaultInstance(); } }
  5. I have another question , how to make screen warp like in nether portal and how to connect this screen warp to my custom effect.
  6. ok , thanks . but how to set an icon for effect?
  7. nothing , i did not find any information about "how to make custom effect"
  8. Here is my code: public static final DeferredRegister<Effect> EFFECTS = DeferredRegister.create(ForgeRegistries.POTIONS, Bettermushrooms.MOD_ID); public static final RegistryEvent<Effect> CUSTOMEFFECT = EFFECTS.register("CUSTOMEFFECT", () -> new Effect(new EffectType().)); <- here is error
  9. full text of error: Exception in thread "main" joptsimple.MissingRequiredOptionsException: Missing required option(s) [accessToken, version] at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:426) at joptsimple.OptionParser.parse(OptionParser.java:400) at net.minecraft.client.main.Main.main(Main.java:54) please help me
×
×
  • Create New...

Important Information

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