#why am i getting the same error when in tutorial it's the same thing?

1 messages · Page 1 of 1 (latest)

viscid grove
#

the first image is my computer, the second one is the tutorial, i don't get why it's not working

rotund orbitBOT
#

<@&987246652869971988> please have a look, thanks.

latent condor
#

Can you share the actual error? Maybe the imports are different/wrong interfaces/etc..

short salmon
#

You wrote

Builder.of(GemPolisherBlockEntity::new, ModBlocks.GEM_POLSHER.get())
```but in the tutorial they wrote:
```java
Builder.of(GemPolishingStationBlockEntity::new, ModBlocks.GEM_POLISHING_STATION.get())
#

Also I think POLSHER in your code is a typo and should be POLISHER, not to mention that it's not the same code either way

viscid grove
#

in my modblocks i changed the GEM_POLISHING_STATION to GEM_POLISHER

#

Like in here

#
public static final RegistryObject<Block> GEM_POLSHER =
            registerBlock("gem_polisher", () -> new GemPolisherBlock(BlockBehaviour.Properties
                    .copy(Blocks.IRON_BLOCK).noOcclusion()));
rotund orbitBOT
viscid grove
#

the name is different

#

but the code is the same

#

guess in the end it's normal

#

since in tutorial it's incomplete

#

yeah, in the end it was just the code being incomplete

#

the more i do stuff the more complete

#

XD