Skip to content

Commit

Permalink
- Changed registry name for structure block registry
Browse files Browse the repository at this point in the history
- Made StructureBlockRegistryProcessor final
  • Loading branch information
Dweblenod committed Jun 30, 2024
1 parent 9d0083c commit 9f30db8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ public class MSStructureProcessorTypes
{
public static final DeferredRegister<StructureProcessorType<?>> REGISTER = DeferredRegister.create(Registries.STRUCTURE_PROCESSOR, Minestuck.MOD_ID);

public static final Supplier<StructureProcessorType<StructureBlockRegistryProcessor>> BLOCK_REGISTRY = REGISTER.register("block_entity", () -> () -> StructureBlockRegistryProcessor.CODEC);
public static final Supplier<StructureProcessorType<StructureBlockRegistryProcessor>> BLOCK_REGISTRY = REGISTER.register("block_registry", () -> () -> StructureBlockRegistryProcessor.CODEC);

}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

@ParametersAreNonnullByDefault
@MethodsReturnNonnullByDefault
public class StructureBlockRegistryProcessor extends StructureProcessor
public final class StructureBlockRegistryProcessor extends StructureProcessor
{
public static final Codec<StructureBlockRegistryProcessor> CODEC = Codec.unit(() -> StructureBlockRegistryProcessor.INSTANCE);
public static final StructureBlockRegistryProcessor INSTANCE = new StructureBlockRegistryProcessor();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"processors": [
{
"processor_type": "minestuck:block_entity"
"processor_type": "minestuck:block_registry"
}
]
}

0 comments on commit 9f30db8

Please sign in to comment.