Skip to content

Commit

Permalink
feat: 1.21.40 (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd authored Nov 6, 2024
1 parent 9bc038c commit b6b9f56
Show file tree
Hide file tree
Showing 128 changed files with 25,214 additions and 12,245 deletions.
21 changes: 17 additions & 4 deletions api/src/main/java/org/allaymc/api/block/data/BlockId.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package org.allaymc.api.block.data;

import java.util.Locale;
import lombok.Getter;
import org.allaymc.api.annotation.MinecraftVersionSensitive;
import org.allaymc.api.block.type.BlockType;
import org.allaymc.api.registry.Registries;
import org.allaymc.api.utils.Identifier;

import java.util.Locale;

/**
* Automatically generated by {@code org.allaymc.codegen.BlockIdEnumGen}
*/
Expand Down Expand Up @@ -475,6 +474,8 @@ public enum BlockId {

CRAFTING_TABLE("minecraft:crafting_table"),

CREEPER_HEAD("minecraft:creeper_head"),

CRIMSON_BUTTON("minecraft:crimson_button"),

CRIMSON_DOOR("minecraft:crimson_door"),
Expand Down Expand Up @@ -719,6 +720,8 @@ public enum BlockId {

DRAGON_EGG("minecraft:dragon_egg"),

DRAGON_HEAD("minecraft:dragon_head"),

DRIED_KELP_BLOCK("minecraft:dried_kelp_block"),

DRIPSTONE_BLOCK("minecraft:dripstone_block"),
Expand Down Expand Up @@ -1545,6 +1548,8 @@ public enum BlockId {

MUDDY_MANGROVE_ROOTS("minecraft:muddy_mangrove_roots"),

MUSHROOM_STEM("minecraft:mushroom_stem"),

MYCELIUM("minecraft:mycelium"),

NETHER_BRICK("minecraft:nether_brick"),
Expand Down Expand Up @@ -1665,6 +1670,8 @@ public enum BlockId {

PETRIFIED_OAK_SLAB("minecraft:petrified_oak_slab"),

PIGLIN_HEAD("minecraft:piglin_head"),

PINK_CANDLE("minecraft:pink_candle"),

PINK_CANDLE_CAKE("minecraft:pink_candle_cake"),
Expand Down Expand Up @@ -1699,6 +1706,8 @@ public enum BlockId {

PITCHER_PLANT("minecraft:pitcher_plant"),

PLAYER_HEAD("minecraft:player_head"),

PODZOL("minecraft:podzol"),

POINTED_DRIPSTONE("minecraft:pointed_dripstone"),
Expand Down Expand Up @@ -1969,7 +1978,7 @@ public enum BlockId {

SILVER_GLAZED_TERRACOTTA("minecraft:silver_glazed_terracotta"),

SKULL("minecraft:skull"),
SKELETON_SKULL("minecraft:skeleton_skull"),

SLIME("minecraft:slime"),

Expand Down Expand Up @@ -2409,6 +2418,8 @@ public enum BlockId {

WITHER_ROSE("minecraft:wither_rose"),

WITHER_SKELETON_SKULL("minecraft:wither_skeleton_skull"),

WOODEN_BUTTON("minecraft:wooden_button"),

WOODEN_DOOR("minecraft:wooden_door"),
Expand All @@ -2435,7 +2446,9 @@ public enum BlockId {

YELLOW_TERRACOTTA("minecraft:yellow_terracotta"),

YELLOW_WOOL("minecraft:yellow_wool");
YELLOW_WOOL("minecraft:yellow_wool"),

ZOMBIE_HEAD("minecraft:zombie_head");

@Getter
private final Identifier identifier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

import org.allaymc.api.block.BlockBehavior;

public interface BlockSkullBehavior extends BlockBehavior {
public interface BlockMushroomStemBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.allaymc.api.block.interfaces.head;

import org.allaymc.api.block.BlockBehavior;

public interface BlockCreeperHeadBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.allaymc.api.block.interfaces.head;

import org.allaymc.api.block.BlockBehavior;

public interface BlockDragonHeadBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.allaymc.api.block.interfaces.head;

import org.allaymc.api.block.BlockBehavior;

public interface BlockPiglinHeadBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.allaymc.api.block.interfaces.head;

import org.allaymc.api.block.BlockBehavior;

public interface BlockPlayerHeadBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.allaymc.api.block.interfaces.head;

import org.allaymc.api.block.BlockBehavior;

public interface BlockSkeletonSkullBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.allaymc.api.block.interfaces.head;

import org.allaymc.api.block.BlockBehavior;

public interface BlockWitherSkeletonSkullBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.allaymc.api.block.interfaces.head;

import org.allaymc.api.block.BlockBehavior;

public interface BlockZombieHeadBehavior extends BlockBehavior {
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,31 @@
package org.allaymc.api.block.property.type;

import org.allaymc.api.annotation.MinecraftVersionSensitive;
import org.allaymc.api.block.property.enums.*;

import java.util.List;
import org.allaymc.api.annotation.MinecraftVersionSensitive;
import org.allaymc.api.block.property.enums.Attachment;
import org.allaymc.api.block.property.enums.BambooLeafSize;
import org.allaymc.api.block.property.enums.BambooStalkThickness;
import org.allaymc.api.block.property.enums.BigDripleafTilt;
import org.allaymc.api.block.property.enums.CauldronLiquid;
import org.allaymc.api.block.property.enums.CrackedState;
import org.allaymc.api.block.property.enums.DripstoneThickness;
import org.allaymc.api.block.property.enums.LeverDirection;
import org.allaymc.api.block.property.enums.MinecraftBlockFace;
import org.allaymc.api.block.property.enums.MinecraftCardinalDirection;
import org.allaymc.api.block.property.enums.MinecraftFacingDirection;
import org.allaymc.api.block.property.enums.MinecraftVerticalHalf;
import org.allaymc.api.block.property.enums.Orientation;
import org.allaymc.api.block.property.enums.PillarAxis;
import org.allaymc.api.block.property.enums.PortalAxis;
import org.allaymc.api.block.property.enums.SeaGrassType;
import org.allaymc.api.block.property.enums.StructureBlockType;
import org.allaymc.api.block.property.enums.TorchFacingDirection;
import org.allaymc.api.block.property.enums.TurtleEggCount;
import org.allaymc.api.block.property.enums.VaultState;
import org.allaymc.api.block.property.enums.WallConnectionTypeEast;
import org.allaymc.api.block.property.enums.WallConnectionTypeNorth;
import org.allaymc.api.block.property.enums.WallConnectionTypeSouth;
import org.allaymc.api.block.property.enums.WallConnectionTypeWest;

/**
* Automatically generated by {@code org.allaymc.codegen.BlockPropertyTypeGen}
Expand Down Expand Up @@ -184,8 +206,6 @@ public interface BlockPropertyTypes {

BooleanPropertyType STABILITY_CHECK = BooleanPropertyType.of("stability_check", false);

BooleanPropertyType STRIPPED_BIT = BooleanPropertyType.of("stripped_bit", false);

EnumPropertyType<StructureBlockType> STRUCTURE_BLOCK_TYPE = EnumPropertyType.of("structure_block_type", StructureBlockType.class, StructureBlockType.values()[0]);

BooleanPropertyType SUSPENDED_BIT = BooleanPropertyType.of("suspended_bit", false);
Expand Down Expand Up @@ -226,5 +246,5 @@ public interface BlockPropertyTypes {

IntPropertyType WEIRDO_DIRECTION = IntPropertyType.of("weirdo_direction", 0, 3, 0);

List<BlockPropertyType<?>> VALUES = List.of(ACTIVE, AGE_16, AGE_3, AGE_4, AGE_6, AGE_BIT, ATTACHED_BIT, ATTACHMENT, BAMBOO_LEAF_SIZE, BAMBOO_STALK_THICKNESS, BIG_DRIPLEAF_HEAD, BIG_DRIPLEAF_TILT, BITE_COUNTER, BLOOM, BOOKS_STORED, BREWING_STAND_SLOT_A_BIT, BREWING_STAND_SLOT_B_BIT, BREWING_STAND_SLOT_C_BIT, BRUSHED_PROGRESS, BUTTON_PRESSED_BIT, CAN_SUMMON, CANDLES, CAULDRON_LIQUID, CLUSTER_COUNT, COMPOSTER_FILL_LEVEL, CONDITIONAL_BIT, CORAL_DIRECTION, CORAL_FAN_DIRECTION, COVERED_BIT, CRACKED_STATE, CRAFTING, DEAD_BIT, DEPRECATED, DIRECTION, DISARMED_BIT, DOOR_HINGE_BIT, DRAG_DOWN, DRIPSTONE_THICKNESS, END_PORTAL_EYE_BIT, EXPLODE_BIT, EXTINGUISHED, FACING_DIRECTION, FILL_LEVEL, GROUND_SIGN_DIRECTION, GROWING_PLANT_AGE, GROWTH, HANGING, HEAD_PIECE_BIT, HEIGHT, HONEY_LEVEL, HUGE_MUSHROOM_BITS, IN_WALL_BIT, INFINIBURN_BIT, ITEM_FRAME_MAP_BIT, ITEM_FRAME_PHOTO_BIT, KELP_AGE, LEVER_DIRECTION, LIQUID_DEPTH, LIT, MINECRAFT_BLOCK_FACE, MINECRAFT_CARDINAL_DIRECTION, MINECRAFT_FACING_DIRECTION, MINECRAFT_VERTICAL_HALF, MOISTURIZED_AMOUNT, MULTI_FACE_DIRECTION_BITS, OCCUPIED_BIT, OMINOUS, OPEN_BIT, ORIENTATION, OUTPUT_LIT_BIT, OUTPUT_SUBTRACT_BIT, PERSISTENT_BIT, PILLAR_AXIS, PORTAL_AXIS, POWERED_BIT, PROPAGULE_STAGE, RAIL_DATA_BIT, RAIL_DIRECTION_10, RAIL_DIRECTION_6, REDSTONE_SIGNAL, REPEATER_DELAY, RESPAWN_ANCHOR_CHARGE, ROTATION, SCULK_SENSOR_PHASE, SEA_GRASS_TYPE, STABILITY, STABILITY_CHECK, STRIPPED_BIT, STRUCTURE_BLOCK_TYPE, SUSPENDED_BIT, TOGGLE_BIT, TORCH_FACING_DIRECTION, TRIAL_SPAWNER_STATE, TRIGGERED_BIT, TURTLE_EGG_COUNT, TWISTING_VINES_AGE, UPDATE_BIT, UPPER_BLOCK_BIT, UPSIDE_DOWN_BIT, VAULT_STATE, VINE_DIRECTION_BITS, WALL_CONNECTION_TYPE_EAST, WALL_CONNECTION_TYPE_NORTH, WALL_CONNECTION_TYPE_SOUTH, WALL_CONNECTION_TYPE_WEST, WALL_POST_BIT, WEEPING_VINES_AGE, WEIRDO_DIRECTION);
List<BlockPropertyType<?>> VALUES = List.of(ACTIVE, AGE_16, AGE_3, AGE_4, AGE_6, AGE_BIT, ATTACHED_BIT, ATTACHMENT, BAMBOO_LEAF_SIZE, BAMBOO_STALK_THICKNESS, BIG_DRIPLEAF_HEAD, BIG_DRIPLEAF_TILT, BITE_COUNTER, BLOOM, BOOKS_STORED, BREWING_STAND_SLOT_A_BIT, BREWING_STAND_SLOT_B_BIT, BREWING_STAND_SLOT_C_BIT, BRUSHED_PROGRESS, BUTTON_PRESSED_BIT, CAN_SUMMON, CANDLES, CAULDRON_LIQUID, CLUSTER_COUNT, COMPOSTER_FILL_LEVEL, CONDITIONAL_BIT, CORAL_DIRECTION, CORAL_FAN_DIRECTION, COVERED_BIT, CRACKED_STATE, CRAFTING, DEAD_BIT, DEPRECATED, DIRECTION, DISARMED_BIT, DOOR_HINGE_BIT, DRAG_DOWN, DRIPSTONE_THICKNESS, END_PORTAL_EYE_BIT, EXPLODE_BIT, EXTINGUISHED, FACING_DIRECTION, FILL_LEVEL, GROUND_SIGN_DIRECTION, GROWING_PLANT_AGE, GROWTH, HANGING, HEAD_PIECE_BIT, HEIGHT, HONEY_LEVEL, HUGE_MUSHROOM_BITS, IN_WALL_BIT, INFINIBURN_BIT, ITEM_FRAME_MAP_BIT, ITEM_FRAME_PHOTO_BIT, KELP_AGE, LEVER_DIRECTION, LIQUID_DEPTH, LIT, MINECRAFT_BLOCK_FACE, MINECRAFT_CARDINAL_DIRECTION, MINECRAFT_FACING_DIRECTION, MINECRAFT_VERTICAL_HALF, MOISTURIZED_AMOUNT, MULTI_FACE_DIRECTION_BITS, OCCUPIED_BIT, OMINOUS, OPEN_BIT, ORIENTATION, OUTPUT_LIT_BIT, OUTPUT_SUBTRACT_BIT, PERSISTENT_BIT, PILLAR_AXIS, PORTAL_AXIS, POWERED_BIT, PROPAGULE_STAGE, RAIL_DATA_BIT, RAIL_DIRECTION_10, RAIL_DIRECTION_6, REDSTONE_SIGNAL, REPEATER_DELAY, RESPAWN_ANCHOR_CHARGE, ROTATION, SCULK_SENSOR_PHASE, SEA_GRASS_TYPE, STABILITY, STABILITY_CHECK, STRUCTURE_BLOCK_TYPE, SUSPENDED_BIT, TOGGLE_BIT, TORCH_FACING_DIRECTION, TRIAL_SPAWNER_STATE, TRIGGERED_BIT, TURTLE_EGG_COUNT, TWISTING_VINES_AGE, UPDATE_BIT, UPPER_BLOCK_BIT, UPSIDE_DOWN_BIT, VAULT_STATE, VINE_DIRECTION_BITS, WALL_CONNECTION_TYPE_EAST, WALL_CONNECTION_TYPE_NORTH, WALL_CONNECTION_TYPE_SOUTH, WALL_CONNECTION_TYPE_WEST, WALL_POST_BIT, WEEPING_VINES_AGE, WEIRDO_DIRECTION);
}
Loading

0 comments on commit b6b9f56

Please sign in to comment.