Skip to content

Commit

Permalink
feat: 1.21.0.03 (#268)
Browse files Browse the repository at this point in the history
* feat: initial work for minecraft 1.21.0.03

* feat: adapt blocks

* feat: adapt items

* feat: update dependencies

* feat: adapt container for 1.21

* feat: adapt protocol changes

* feat: update block_correct_tool_special.nbt and block_material_data.nbt

* feat: add new enchantment types in 1.21

* fix: fix a missing enchantment type declaration

* feat: add new gamerules in 1.21

* fix: fix null pointer if "onDimensionSet" is empty

* fix: fix player joining
  • Loading branch information
smartcmd authored Jun 17, 2024
1 parent 9e59c4e commit b65e368
Show file tree
Hide file tree
Showing 219 changed files with 31,911 additions and 12,192 deletions.
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 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.coralblock;

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.coralblock;

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.coralblock;

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.coralblock;

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.coralblock;

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.coralblock;

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.coralblock;

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
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces.coralblock;

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.coralblock;

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
@@ -0,0 +1,10 @@
package org.allaymc.api.block.interfaces.coralblock;

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
*/
public enum Attachment {
HANGING,
HANGING,

MULTIPLE,
MULTIPLE,

SIDE,
SIDE,

STANDING
STANDING
}
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
*/
public enum BambooLeafSize {
LARGE_LEAVES,
LARGE_LEAVES,

NO_LEAVES,
NO_LEAVES,

SMALL_LEAVES
SMALL_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
*/
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
*/
public enum BigDripleafTilt {
FULL_TILT,
FULL_TILT,

NONE,
NONE,

PARTIAL_TILT,
PARTIAL_TILT,

UNSTABLE
UNSTABLE
}
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
*/
public enum CauldronLiquid {
LAVA,
LAVA,

POWDER_SNOW,
POWDER_SNOW,

WATER
WATER
}
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
*/
public enum ChemistryTableType {
COMPOUND_CREATOR,
COMPOUND_CREATOR,

ELEMENT_CONSTRUCTOR,
ELEMENT_CONSTRUCTOR,

LAB_TABLE,
LAB_TABLE,

MATERIAL_REDUCER
MATERIAL_REDUCER
}
Loading

0 comments on commit b65e368

Please sign in to comment.