Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 1.21 #265

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Allay-API/src/main/java/org/allaymc/api/AllayAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ private void defaultAPIRequirements() {
requireImpl(VanillaBlockAttributeRegistry.class, VanillaBlockAttributeRegistry.REGISTRY::set);
requireImpl(BlockStateHashPalette.class, BlockStateHashPalette.REGISTRY::set);
requireImpl(BlockTypeRegistry.class, BlockTypeRegistry.REGISTRY::set);

// Entity
requireImpl(EffectRegistry.class, EffectRegistry.REGISTRY::set);
requireImpl(EntityTypeBuilder.EntityTypeBuilderFactory.class, EntityTypeBuilder.FACTORY::set);
Expand All @@ -185,18 +185,18 @@ private void defaultAPIRequirements() {
// Biome
requireImpl(BiomeTypeRegistry.class, BiomeTypeRegistry.REGISTRY::set);

// Misc
requireImpl(VanillaItemMetaBlockStateBiMap.class, VanillaItemMetaBlockStateBiMap.REGISTRY::set);

// World
requireImpl(WorldStorageFactory.class, WorldStorageFactory.FACTORY::set);
requireImpl(WorldGeneratorFactory.class, WorldGeneratorFactory.FACTORY::set);

// Creative Item Registry
requireImpl(CreativeItemRegistry.class, CreativeItemRegistry.REGISTRY::set);

// Recipe
requireImpl(RecipeRegistry.class, RecipeRegistry.REGISTRY::set);
{
// Misc
requireImpl(VanillaItemMetaBlockStateBiMap.class, VanillaItemMetaBlockStateBiMap.REGISTRY::set);
// Creative Item Registry
requireImpl(CreativeItemRegistry.class, CreativeItemRegistry.REGISTRY::set);
// Recipe
requireImpl(RecipeRegistry.class, RecipeRegistry.REGISTRY::set);
}

// Perm
requireImpl(PermTree.PermTreeFactory.class, PermTree.FACTORY::set);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockBrainCoralBlockBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockBubbleCoralBlockBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockDeadBrainCoralBlockBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockDeadBubbleCoralBlockBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockDeadFireCoralBlockBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockDeadHornCoralBlockBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockDeadTubeCoralBlockBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockTallgrassBehavior extends BlockBehavior {
public interface BlockFernBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockFireCoralBlockBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockHornCoralBlockBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockDoublePlantBehavior extends BlockBehavior {
public interface BlockLargeFernBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockLilacBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockPeonyBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockRoseBushBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockCoralBlockBehavior extends BlockBehavior {
public interface BlockShortGrassBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockSunflowerBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockTallGrassBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockTubeCoralBlockBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces.slab;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockBrickSlabBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces.slab;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockCobblestoneSlabBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces.slab;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockNetherBrickSlabBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces.slab;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockPetrifiedOakSlabBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces.slab;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockQuartzSlabBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces.slab;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockSandstoneSlabBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces.slab;

import org.allaymc.api.block.BlockBehavior;

/**
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockSmoothStoneSlabBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
* @author daoge_cmd <br>
* Allay Project <br>
*/
public interface BlockStoneBlockSlabBehavior extends BlockBehavior {
public interface BlockStoneBrickSlabBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
/**
* Automatically generated by {@code org.allaymc.codegen.VanillaBlockPropertyTypeGen} <br>
* Allay Project <p>
*
* @author daoge_cmd
* @author daoge_cmd | CoolLoong
*/
public enum Attachment {
HANGING,
STANDING,

MULTIPLE,
SIDE,

SIDE,
MULTIPLE,

STANDING
HANGING
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
/**
* Automatically generated by {@code org.allaymc.codegen.VanillaBlockPropertyTypeGen} <br>
* Allay Project <p>
*
* @author daoge_cmd
* @author daoge_cmd | CoolLoong
*/
public enum BambooLeafSize {
LARGE_LEAVES,
SMALL_LEAVES,

NO_LEAVES,
LARGE_LEAVES,

SMALL_LEAVES
NO_LEAVES
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
/**
* Automatically generated by {@code org.allaymc.codegen.VanillaBlockPropertyTypeGen} <br>
* Allay Project <p>
*
* @author daoge_cmd
* @author daoge_cmd | CoolLoong
*/
public enum BambooStalkThickness {
THICK,
THICK,

THIN
THIN
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
/**
* Automatically generated by {@code org.allaymc.codegen.VanillaBlockPropertyTypeGen} <br>
* Allay Project <p>
*
* @author daoge_cmd
* @author daoge_cmd | CoolLoong
*/
public enum BigDripleafTilt {
FULL_TILT,
UNSTABLE,

NONE,
PARTIAL_TILT,

PARTIAL_TILT,
FULL_TILT,

UNSTABLE
NONE
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
/**
* Automatically generated by {@code org.allaymc.codegen.VanillaBlockPropertyTypeGen} <br>
* Allay Project <p>
*
* @author daoge_cmd
* @author daoge_cmd | CoolLoong
*/
public enum CauldronLiquid {
LAVA,
POWDER_SNOW,

POWDER_SNOW,
LAVA,

WATER
WATER
}
Loading
Loading