Jump to content

jusipat

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by jusipat

  1. Hi, thanks for the reply! That seems like the best way to do it, my question is, how would you go about "linking"a block entity to a vanilla object in that way? I see for your example if you had a custom block you would have no issue in using your own CustomBlockBlockEntity associated with the custom block, however for me, banners already have a block entity, so unless I want to completely overwrite this vanilla BlockEntity, I am not sure on how to override or add methods to the BannerBlockEntity. Any suggestions? Thanks again!
  2. Hi all, I have a pretty basic question here that I'll try to lay out as concisely as possible: I am currently working on this: On right clicking a banner with a name tag, the banner will generate an invisible radius around it, and the player will be alerted everytime they cross in and out of this radius under a generic message "Leaving/entering name tag's territory". I have already created an event to handle the right clicking on a banner block with a name tag, my current issue is finding the best way to spawn a custom block entity (if this is the appropriate method to implement this) into the world which can act as the centre point for this radius (being the banner) from wherein I can implement all of the code logic. I just need to be pointed in the right direction on how the best way to spawn this entity/blockentity. I have already tried to make a custom banner entity, or to override the vanilla banner block + entity, but I cannot see that as being the best way to go about this. If anyone has any suggestions on how to proceed, it would be greatly appreciated. Thanks.
×
×
  • Create New...

Important Information

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