#why am i getting the same error when in tutorial it's the same thing?
1 messages · Page 1 of 1 (latest)
<@&987246652869971988> please have a look, thanks.
Can you share the actual error? Maybe the imports are different/wrong interfaces/etc..
You are aware that your code and the code from the tutorial are not the same?
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
it's because i changed the name
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()));
Detected code, here are some useful tools: