Posting an event to the event bus doesn't do what you want. You should instead subcscribe to the FOVUpdateEvent. Read the documentation on events here.
Hi
Perhaps try the notSolid() property, I think that's how glass does it.
public static final Block GLASS = register("glass", new GlassBlock(Block.Properties.create(Material.GLASS).hardnessAndResistance(0.3F).sound(SoundType.GLASS).notSolid()));
-TGG
1.12 is no longer supported on these forums due to age.
Please update to a modern version to receive support here.
More information on supported versions can be found in the LTS link at the top of every page.
It also explicitly states 1.12 is no longer supported, likely singled out for mention because it was the go-to version for a long time while the 1.13 rewrite happened.
Sorry 1.12.2 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. For more information read the LTS at the top of the page.