-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/1.19.3/wip' into 1.19.4/wip
- Loading branch information
Showing
88 changed files
with
1,060 additions
and
779 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
src/main/java/me/pepperbell/continuity/api/client/CTMLoader.java
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
src/main/java/me/pepperbell/continuity/api/client/CTMLoaderRegistry.java
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
src/main/java/me/pepperbell/continuity/api/client/CTMProperties.java
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
src/main/java/me/pepperbell/continuity/api/client/CTMPropertiesFactory.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
src/main/java/me/pepperbell/continuity/api/client/CachingPredicatesFactory.java
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
src/main/java/me/pepperbell/continuity/api/client/CtmLoader.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package me.pepperbell.continuity.api.client; | ||
|
||
public interface CtmLoader<T extends CtmProperties> { | ||
CtmProperties.Factory<T> getPropertiesFactory(); | ||
|
||
QuadProcessor.Factory<T> getProcessorFactory(); | ||
|
||
CachingPredicates.Factory<T> getPredicatesFactory(); | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/java/me/pepperbell/continuity/api/client/CtmLoaderRegistry.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package me.pepperbell.continuity.api.client; | ||
|
||
import org.jetbrains.annotations.ApiStatus; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
import me.pepperbell.continuity.impl.client.CtmLoaderRegistryImpl; | ||
|
||
@ApiStatus.NonExtendable | ||
public interface CtmLoaderRegistry { | ||
static CtmLoaderRegistry get() { | ||
return CtmLoaderRegistryImpl.INSTANCE; | ||
} | ||
|
||
void registerLoader(String method, CtmLoader<?> loader); | ||
|
||
@Nullable | ||
CtmLoader<?> getLoader(String method); | ||
} |
20 changes: 20 additions & 0 deletions
20
src/main/java/me/pepperbell/continuity/api/client/CtmProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package me.pepperbell.continuity.api.client; | ||
|
||
import java.util.Collection; | ||
import java.util.Properties; | ||
|
||
import org.jetbrains.annotations.Nullable; | ||
|
||
import net.minecraft.client.util.SpriteIdentifier; | ||
import net.minecraft.resource.ResourceManager; | ||
import net.minecraft.resource.ResourcePack; | ||
import net.minecraft.util.Identifier; | ||
|
||
public interface CtmProperties extends Comparable<CtmProperties> { | ||
Collection<SpriteIdentifier> getTextureDependencies(); | ||
|
||
interface Factory<T extends CtmProperties> { | ||
@Nullable | ||
T createProperties(Properties properties, Identifier resourceId, ResourcePack pack, int packPriority, ResourceManager resourceManager, String method); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
src/main/java/me/pepperbell/continuity/api/client/QuadProcessorFactory.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.