Skip to content

Add experimental support for Fabric - #495

Open
Ingrim4 wants to merge 1 commit into
masterfrom
fabric
Open

Ingrim4 wants to merge 1 commit into
masterfrom
fabric

Conversation

@Ingrim4

@Ingrim4 Ingrim4 commented Sep 15, 2026

Copy link
Copy Markdown
Member

Description

Add experimental support for Fabric.

How Has This Been Tested?

Not tested yet

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Comment thread gradle.properties
org.gradle.configuration-cache=false
org.gradle.vfs.watch=false
org.gradle.jvmargs=-Xmx4G -Dfile.encoding=UTF-8
org.gradle.java.installations.fromEnv=JAVA_HOME_17_X64,JAVA_HOME_21_X64,JAVA_HOME_25_X64

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to document this for new contributors?

private static final Logger LOGGER = LoggerFactory.getLogger(FabricLoggerAccessor.class);

@Override
public void log(@NotNull LogLevel level, @NotNull String message, @Nullable Throwable throwable) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use INFO as fallback logging instead of printing nothing if a new logging format is added.

protected ServerLevel level;

@Definition(id = "action", local = @Local(type = Action.class))
@Definition(id = "START_DESTROY_BLOCK",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a safe call?
Is it possible to fake it (by sending invalid packets) or can it be triggered by punching blocks to cause updates even if you cancel it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants