mojira.dev
MC-147784

Fletching table flashes crafting table's GUI for about a second upon right-clicking it in spectator mode

The Bug:

Right-clicking the fletching table in spectator mode flashes the crafting table’s GUI for a split second. This is probably happening because the fletching table is using GUI group ”0xFF” which isn’t a valid one.

-------------------------------------------------

Steps to Reproduce:

1. Get a "Fletching Table" and place it down.

2. Go into spectator mode by using "F3 + N", "F3 + F4" or by just typing in chat "/gamemode spectator".

3. While in spectator mode go near the fletching table that you’ve just placed and then right-click the previously mentioned block.

--------------------------------------------------

Related issues

MC-145957 Right-cliking on smithing table and fletching table in sectator mode show crafting table GUI MC-157229 Crafting GUI opens in spectator mode when clicking on certain blocks. MC-157553 Right-clicking smithing table whilist spectator mode MC-168839 Smithing and Fletching Tables have "Functionality" while in spectator mode MC-182744 When you right-click a Fletching Table in Spectator mode, it opens a Crafting Table GUI MC-195241 Spectator with Fletching table makes Crafting table? MC-196072 Feltching Table in spectator mode MC-198240 Right-clicking the fletching table in creative causes crafting table UI to open for a split second MC-198328 Fletching table opens crafting menu in spectator mode MC-202290 Fletching Table and crafting GUI MC-203249 You can interact with the Fletching table in spectator mode MC-227504 Bug MC-237796 When you try to use Fletching Table in Spectator mode, Crafting table menu appears for one frame MC-260973 Opening a fletching table in spectator flashes crafting menu MC-279391 Right clicking a fletching table in spectator mode pops up the crafting table menu for a couple of seconds MC-296888 Fletching Table opens crafting table menu for a split second while in spectator mode

Attachments

Comments

migrated
[media][media]
migrated

Confirmed in 19w11a onwards

migrated

This is working as intended, see MC-143441.

pokechu22

To explain why the other one is resolved – it's resolved as "works as intended" meaning that it's known behavior, but intended. Bugs that are resolved as "fixed" are specifically fixed, but there are a few other resolutions (including, of course, "duplicate").

migrated

Confirmed in 1.16.1.

anthony cicinelli

Affects 20w29a.

anthony cicinelli

pulpetti if you want your request to be seen by the mods a little better join the mojira discord here: https://www.reddit.com/r/Mojira/comments/e7y5g0/join_the_official_mojira_discord_server_for_more/

violine1101

@unknown, please don't post untrue comments. Consider this a warning.

Sebexan

Present in 20w46a

Avoma

Can confirm in 1.17.

ampolive

Can confirm in 1.17.1.

ampolive

Can confirm in 21w44a.

Avoma

Can confirm in 1.18.1.

migrated

I think something like this happens due to Fletching Table using GUI group 0xFF, which is not a valid one.

IllagerCaptain

Here is FletchingTableBlock.java. Note that this is an extension of CraftingTableBlock.java. A solution would be to just make it an extension of Block.java instead.

package net.minecraft.world.level.block;import net.minecraft.core.BlockPos;
import net.minecraft.world.InteractionHand;
import net.minecraft.world.InteractionResult;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.phys.BlockHitResult;public class FletchingTableBlock extends CraftingTableBlock {
  protected FletchingTableBlock(BlockBehaviour.Properties paramProperties) {
    super(paramProperties);
  }
  
  public InteractionResult use(BlockState paramBlockState, Level paramLevel, BlockPos paramBlockPos, Player paramPlayer, InteractionHand paramInteractionHand, BlockHitResult paramBlockHitResult) {
    return InteractionResult.PASS;
  }
}
migrated

can confirm in 1.18.1

migrated

Only the first version an issue occured in, and latest versions are of interest, not outdated versions in between. (First one only so the cause can be narrowed down to code changed in said version.)

Lycen_R

Can confim in 1.20.4

Brain81505

Can confirm in 1.21

pulpetti

(Unassigned)

Confirmed

Platform

Low

UI

crafting_table, fletching_table, spectator

Minecraft 1.14 Pre-Release 1, 1.14.4, 1.15.1, 20w19a, 1.16.1, ..., 24w10a, 1.20.5 Release Candidate 2, 1.21, 1.21.4, 1.21.5

Retrieved