Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Novality's Achievements

Tree Puncher

Tree Puncher (2/8)



  1. Is the list of BlockPos objects just the positions of each bookshelf? Can you help clarify exactly what the list 'BOOKSHELF_OFFSETS' is?
  2. Hi there, this is something I've been struggling to figure out for the last week or so. I will not be posting and prior code I had because of how many different approaches I've tried. I've tried looking at vanilla's enchant table and bookshelf block classes and imitating that, I've looked through dozens of old forum posts about particles yet none of it has helped. Essentially, I want to recreate the enchant particles that move from bookshelf to the center of the enchantment table. But for my custom block classes; I have one block that would represent a bookshelf and one that would represent an enchantment table in this case. Thanks for any help in advance. I appreciate it
  3. I'm looking at the class, I see it's an integer. What value will it hold if no animation is showing? 0 or null?
  4. I know that the server sends a packet to the client to register the red tint animation on damaged.. I've tried overriding performHurtAnimation() as a workaround to find when the player is damaged.. nothing came from that. The last thing I could do is interpret the packet.. but I don't even know where to start. If someone could point me in the right direction that would be great. My goal is to play an additional animation when the player is damaged - in addition to the already existent red tint.
  5. I understand the concern and possibility of unfriendly mod compatibility. I'll be sure to add an option to disable it then as I'll probably have a keybind to open the same gui as well. The button will be there though, at the very bottom of the screen to bring user's attention to configuration. I've actually played around with GuiScreenEvent.InitGuiEvent before and I don't recall being able to add a button to the button list?
  6. package novality; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiIngameMenu; public class NovalityAddButton extends GuiIngameMenu { private GuiButton mEnter; } I don't really know where to go from here. If anyone could point me in the right direction, that would be great. I want my button to open another gui I created that extends from GuiScreen.
  7. Yep, but can I use tick delays without creating a separate tick counter method?
  8. I want to create a 1000ms delay in my java method without pausing the game. Is this possible? If so an example would be nice Ex: doThing() //1000ms delay doAnotherThing()
  9. No worries! I was looking for something that will periodically bold and unbold green text. But anything specific isn't really needed. An example would be best!
  10. You seem to have missed the point of the question. I want an animated tooltip not an animated item texture which can be easily done. 😄
  11. I know how to add advanced tooltips, and regular item lore. I've started to explore a bit and ended up pondering animated item lore. I've seen mods that have it, and I was wondering if there was a somewhat simple way that I could do this too! Any help is greatly appreciated
  12. NEVERMIND. I found something that works for me: MinecraftServer source = LogicalSidedProvider.INSTANCE.get(LogicalSide.SERVER); Topic SOLVED
  13. Thanks, but I'm having an issue grabbing the MinecraftServer variable. My code: MinecraftServer source = MinecraftServer.getServer(); source.getCommands().performCommand(source.createCommandSourceStack(), "say hi"); It doesn't seem to recognize "getServer()"
  • Create New...

Important Information

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