forked from ldtteam/minecolonies
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
custom patreon banner patterns (ldtteam#9233)
Introduces custom banner patterns for Patreons Some small fix for the clipboard Rerun datagen
- Loading branch information
Showing
19 changed files
with
60 additions
and
21 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
40 changes: 40 additions & 0 deletions
40
src/api/java/com/minecolonies/api/items/ModBannerPatterns.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,40 @@ | ||
package com.minecolonies.api.items; | ||
|
||
import com.minecolonies.api.util.constant.Constants; | ||
import net.minecraft.core.registries.Registries; | ||
import net.minecraft.sounds.SoundEvent; | ||
import net.minecraft.world.level.block.entity.BannerPattern; | ||
import net.minecraftforge.registries.DeferredRegister; | ||
|
||
/** | ||
* Registering of sound events for our colony. | ||
*/ | ||
public final class ModBannerPatterns | ||
{ | ||
public static final DeferredRegister<BannerPattern> BANNER_PATTERNS = DeferredRegister.create(Registries.BANNER_PATTERN, Constants.MOD_ID); | ||
|
||
/** | ||
* Private constructor to hide the implicit public one. | ||
*/ | ||
private ModBannerPatterns() | ||
{ | ||
/* | ||
* Intentionally left empty. | ||
*/ | ||
} | ||
|
||
/** | ||
* Register the {@link SoundEvent}s. | ||
* | ||
* @param registry the registry to register at. | ||
*/ | ||
static | ||
{ | ||
BANNER_PATTERNS.register("horse", () -> new BannerPattern("hsy")); | ||
BANNER_PATTERNS.register("eagle", () -> new BannerPattern("egl")); | ||
BANNER_PATTERNS.register("lion", () -> new BannerPattern("lin")); | ||
BANNER_PATTERNS.register("tower", () -> new BannerPattern("twr")); | ||
BANNER_PATTERNS.register("bear", () -> new BannerPattern("ber")); | ||
BANNER_PATTERNS.register("fleur", () -> new BannerPattern("flr")); | ||
} | ||
} |
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
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 added
BIN
+7.39 KB
src/main/resources/assets/minecolonies/textures/entity/banner/bear.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.69 KB
src/main/resources/assets/minecolonies/textures/entity/banner/eagle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.59 KB
src/main/resources/assets/minecolonies/textures/entity/banner/fleur.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.99 KB
src/main/resources/assets/minecolonies/textures/entity/banner/horse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.85 KB
src/main/resources/assets/minecolonies/textures/entity/banner/lion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.17 KB
src/main/resources/assets/minecolonies/textures/entity/banner/tower.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.42 KB
src/main/resources/assets/minecolonies/textures/entity/shield/bear.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.69 KB
src/main/resources/assets/minecolonies/textures/entity/shield/eagle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.19 KB
src/main/resources/assets/minecolonies/textures/entity/shield/fleur.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.01 KB
src/main/resources/assets/minecolonies/textures/entity/shield/horse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.82 KB
src/main/resources/assets/minecolonies/textures/entity/shield/lion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.97 KB
src/main/resources/assets/minecolonies/textures/entity/shield/tower.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.