-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backport support for axolotl of "Caves and Cliffs Mod, 1.17 concept"
- Loading branch information
Showing
4 changed files
with
27 additions
and
1 deletion.
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
25 changes: 25 additions & 0 deletions
25
src/main/java/cech12/ceramicbucket/compat/CavesAndCliffs117ConceptCompat.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,25 @@ | ||
package cech12.ceramicbucket.compat; | ||
|
||
import cech12.ceramicbucket.api.data.ObtainableEntityType; | ||
import net.minecraft.fluid.Fluids; | ||
import net.minecraft.tags.FluidTags; | ||
import net.minecraft.util.ResourceLocation; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class CavesAndCliffs117ConceptCompat extends ModCompat.Mod implements ModCompat.EntityTypeObtainingMod { | ||
|
||
private final List<ObtainableEntityType> obtainableEntityTypes = new ArrayList<>(); | ||
|
||
public CavesAndCliffs117ConceptCompat() { | ||
super("caves_and_cliffs"); | ||
this.obtainableEntityTypes.add(new ObtainableEntityType.Builder(new ResourceLocation(this.name, "axolotl"), Fluids.WATER).addFluidTag(FluidTags.WATER).build()); | ||
} | ||
|
||
@Override | ||
public List<ObtainableEntityType> getObtainableEntityTypes() { | ||
return this.obtainableEntityTypes; | ||
} | ||
|
||
} |
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
+273 Bytes
.../assets/ceramicbucket/textures/item/bucket_content/caves_and_cliffs/axolotl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.