Jump to content

Adham-084

Members
  • Posts

    6
  • Joined

  • Last visited

Adham-084's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. But what about if it were in single player (integrated server)?
  2. I have tried without it but same result. In what event should I get the value, dose RenderGameOverlayEvent occur in the server, because I want the value in this event, and how to send it to client?
  3. So I'm trying to get the comparator input override of a block (if it has one) with something like: @OnlyIn(Dist.CLIENT) @SubscribeEvent public void onRenderGameOverlay(RenderGameOverlayEvent.Post event) { //... if (blockstate.hasComparatorInputOverride()) { int p = blockstate.getComparatorInputOverride(minecraft.world, tBlockPos); } //... } For blocks like bee nest and cauldron it worked, but for blocks with inventory it always returns 0 because when it tries to get the block inventory gets an air full inventory(not null) even when the chest is full.
  4. Dose this still work for forge gradle with minecraft 1.16.5?
×
×
  • Create New...

Important Information

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