Jump to content

Karafakeu

Members
  • Posts

    3
  • Joined

  • Last visited

Karafakeu's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I found this documentation: https://docs.minecraftforge.net/en/1.16.x/blocks/states/, but i cant understand it whatsoever. I am trying to get a block and its IBlockState, which i already got. Based on that I would love to .getValue(IProperty<EnumDyeColor>), however it throws an error that "Syntax error on token ">", invalid Expression". Am I missing something, am i missunderstanding something? Could anyone explain please? And yes, I am fairly new to java, so maybe I just lack the knowledge of java, but please someone explain.
  2. I have coordinates of a block, and I want to a) check if that block is a glass_pane, and b) if the color of the glass_pane (considering it is so) is magenta. I have solved the a) part, i can check if a block is a glass_pane, however i dont know how to check for the color. Forge 1.8.9 btw. Anyone to help? Thanks!
×
×
  • Create New...

Important Information

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