-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
752 additions
and
414 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
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
22 changes: 22 additions & 0 deletions
22
fabric/src/main/java/com/noxcrew/noxesium/feature/entity/ArmorStandCullingExtension.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,22 @@ | ||
package com.noxcrew.noxesium.feature.entity; | ||
|
||
import net.minecraft.world.phys.AABB; | ||
|
||
/** | ||
* Defines an extension for armor stand culling bounding boxes. | ||
*/ | ||
public interface ArmorStandCullingExtension { | ||
|
||
/** | ||
* Returns the culling bounding box. | ||
*/ | ||
public default AABB noxesium$getCullingBoundingBox() { | ||
throw new UnsupportedOperationException("Unimplemented"); | ||
} | ||
|
||
/** | ||
* Updates the culling bounding box. | ||
*/ | ||
public default void noxesium$setCullingBoundingBox(AABB boundingBox) { | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
fabric/src/main/java/com/noxcrew/noxesium/feature/entity/BeamColorStateExtension.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 com.noxcrew.noxesium.feature.entity; | ||
|
||
/** | ||
* Extends the guardian and end crystal states with a beam color. | ||
*/ | ||
public interface BeamColorStateExtension { | ||
|
||
default Integer noxesium$getBeamColor() { | ||
throw new UnsupportedOperationException("Unimplemented"); | ||
} | ||
|
||
default Integer noxesium$getBeamColorFade() { | ||
throw new UnsupportedOperationException("Unimplemented"); | ||
} | ||
|
||
default void noxesium$setBeamColor(Integer color, Integer fade) { | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
fabric/src/main/java/com/noxcrew/noxesium/feature/entity/EndCrystalRenderHolder.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,21 @@ | ||
package com.noxcrew.noxesium.feature.entity; | ||
|
||
/** | ||
* Stores the color being used for rendering an end crystal beam. | ||
*/ | ||
public class EndCrystalRenderHolder { | ||
/** | ||
* The current color being used when rendering end crystal beams. | ||
*/ | ||
public static Integer noxesium$endCrystalBeamColor = null; | ||
|
||
/** | ||
* The current fade color for the end crystal beams. | ||
*/ | ||
public static Integer noxesium$endCrystalBeamColorFade = null; | ||
|
||
/** | ||
* The current vertex index. | ||
*/ | ||
public static int noxesium$index = 0; | ||
} |
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
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
Oops, something went wrong.