Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Foxy

Members
  • Joined

  • Last visited

  1. Thanks for help, but before i can finish this project i should read more tutorials on java so i have base knowledge of java. I understand what you are saying but don't know how to fully implement it, so i will start with simpler things.
  2. Is this what you mean ? Also should i use datawatchers for exp and level or no ? EDIT: no need for datawatchers cause players wont need to know about other player exp or level. EDIT: ProfEvent class do i need to cast event.player and event.getPlayer() to (EntityPlayer), seeing as they are already players i think they shouldn't.
  3. How should i specify which profession is used/wanted then?
  4. what property ?
  5. Okay i finished implementing IExtendedEntityProperties, is this alright: Profession.java ProfEvents.java Professions is init class for all professions... Professions
  6. Do i need to implement IExtendedPropperties to every profession class or just core class ?
  7. I don't ... which classes should i check to see how it's done ? Btw i added github link also do i need to initiate save of players current exp and level on server or world exit or is it automatic, i guess it's not ?
  8. Is there anything else that needs to be handled or done ?
  9. I am beginner programmer so i don't know much but i'm learning. Here is another try: This way it works as intended but idk if it's considered right or wrong programming.
  10. @Failender I fixed that alredy but diesieben07 said i shouldn't use getMetaFromState so i am experimenting again. @diesieben70 Can you explain why i shouldn't use getMetaFromState ? I also modified if statement, but not sure if it's correct way to do it. Don't really understand how Block States work.
  11. I tried checking if metadata is 7 but it still adds exp event if it isn't This isn't only way i checked but still doesn't work.
  12. Hi i'm new to modding and i require a bit of help, everything is explained in Professions topic in mods section. Link to GitHub [sOLVED] Herbalism:
  13. Foxy posted a topic in Mods
    Professions mod is inspired by MMORPGs profession and craftting system and some mods like TConstruct, Thaumcraft, Ars Magica and more... There are currently planned three groups of professions: Primary: Hunting, Woodcutting, Mining, Herbalism, Fishing. Secondary: Blacksmithing, Engineering, Jewlecrafting, Alchemy, Inscription, Enchantments, Carpentry, Tailoring, Leatherworking and maybe some more in future. Passive:Swimming, Combat and similar. In first version there will be only Primary professions. I'm currently having problems with Fishing (don't know how to check if player is fishing and if player fished anything) and how can i make it so players can't just place a block and break it to get infinite exp ? EDIT: [Herbalism Solved] Here is link to projects GitHub. Here is link to mod support topic. If more information is required i'll post, there are currently no images cause nothing major nor any textures has been added.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.