-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
191 additions
and
319 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
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
4 changes: 2 additions & 2 deletions
4
api/src/main/java/org/allaymc/api/block/interfaces/BlockCrimsonHyphaeBehavior.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.BlockWoodBaseComponent; | ||
import org.allaymc.api.block.component.BlockStrippableComponent; | ||
|
||
public interface BlockCrimsonHyphaeBehavior extends BlockBehavior, BlockWoodBaseComponent { | ||
public interface BlockCrimsonHyphaeBehavior extends BlockBehavior, BlockStrippableComponent { | ||
} |
4 changes: 2 additions & 2 deletions
4
api/src/main/java/org/allaymc/api/block/interfaces/BlockCrimsonStemBehavior.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.BlockWoodBaseComponent; | ||
import org.allaymc.api.block.component.BlockStrippableComponent; | ||
|
||
public interface BlockCrimsonStemBehavior extends BlockBehavior, BlockWoodBaseComponent { | ||
public interface BlockCrimsonStemBehavior extends BlockBehavior, BlockStrippableComponent { | ||
} |
4 changes: 2 additions & 2 deletions
4
api/src/main/java/org/allaymc/api/block/interfaces/BlockStrippedCrimsonHyphaeBehavior.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.BlockWoodBaseComponent; | ||
import org.allaymc.api.block.component.BlockStrippableComponent; | ||
|
||
public interface BlockStrippedCrimsonHyphaeBehavior extends BlockBehavior, BlockWoodBaseComponent { | ||
public interface BlockStrippedCrimsonHyphaeBehavior extends BlockBehavior, BlockStrippableComponent { | ||
} |
4 changes: 2 additions & 2 deletions
4
api/src/main/java/org/allaymc/api/block/interfaces/BlockStrippedCrimsonStemBehavior.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.BlockWoodBaseComponent; | ||
import org.allaymc.api.block.component.BlockStrippableComponent; | ||
|
||
public interface BlockStrippedCrimsonStemBehavior extends BlockBehavior, BlockWoodBaseComponent { | ||
public interface BlockStrippedCrimsonStemBehavior extends BlockBehavior, BlockStrippableComponent { | ||
} |
4 changes: 2 additions & 2 deletions
4
api/src/main/java/org/allaymc/api/block/interfaces/BlockStrippedWarpedHyphaeBehavior.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.BlockWoodBaseComponent; | ||
import org.allaymc.api.block.component.BlockStrippableComponent; | ||
|
||
public interface BlockStrippedWarpedHyphaeBehavior extends BlockBehavior, BlockWoodBaseComponent { | ||
public interface BlockStrippedWarpedHyphaeBehavior extends BlockBehavior, BlockStrippableComponent { | ||
} |
4 changes: 2 additions & 2 deletions
4
api/src/main/java/org/allaymc/api/block/interfaces/BlockStrippedWarpedStemBehavior.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.BlockWoodBaseComponent; | ||
import org.allaymc.api.block.component.BlockStrippableComponent; | ||
|
||
public interface BlockStrippedWarpedStemBehavior extends BlockBehavior, BlockWoodBaseComponent { | ||
public interface BlockStrippedWarpedStemBehavior extends BlockBehavior, BlockStrippableComponent { | ||
} |
4 changes: 2 additions & 2 deletions
4
api/src/main/java/org/allaymc/api/block/interfaces/BlockWarpedHyphaeBehavior.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.BlockWoodBaseComponent; | ||
import org.allaymc.api.block.component.BlockStrippableComponent; | ||
|
||
public interface BlockWarpedHyphaeBehavior extends BlockBehavior, BlockWoodBaseComponent { | ||
public interface BlockWarpedHyphaeBehavior extends BlockBehavior, BlockStrippableComponent { | ||
} |
4 changes: 2 additions & 2 deletions
4
api/src/main/java/org/allaymc/api/block/interfaces/BlockWarpedStemBehavior.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.BlockWoodBaseComponent; | ||
import org.allaymc.api.block.component.BlockStrippableComponent; | ||
|
||
public interface BlockWarpedStemBehavior extends BlockBehavior, BlockWoodBaseComponent { | ||
public interface BlockWarpedStemBehavior extends BlockBehavior, BlockStrippableComponent { | ||
} |
3 changes: 2 additions & 1 deletion
3
api/src/main/java/org/allaymc/api/block/interfaces/BlockWoodBehavior.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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
package org.allaymc.api.block.interfaces; | ||
|
||
import org.allaymc.api.block.BlockBehavior; | ||
import org.allaymc.api.block.component.BlockStrippableComponent; | ||
|
||
public interface BlockWoodBehavior extends BlockBehavior { | ||
public interface BlockWoodBehavior extends BlockBehavior, BlockStrippableComponent { | ||
} |
7 changes: 0 additions & 7 deletions
7
api/src/main/java/org/allaymc/api/item/component/tool/ItemHoeComponent.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
api/src/main/java/org/allaymc/api/item/component/tool/ItemPickaxeComponent.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
api/src/main/java/org/allaymc/api/item/component/tool/ItemShovelComponent.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
api/src/main/java/org/allaymc/api/item/component/tool/ItemSwordComponent.java
This file was deleted.
Oops, something went wrong.
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
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
15 changes: 5 additions & 10 deletions
15
...component/BlockWoodBaseComponentImpl.java → ...mponent/BlockStrippableComponentImpl.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
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
11 changes: 4 additions & 7 deletions
11
server/src/main/java/org/allaymc/server/block/impl/BlockWoodBehaviorImpl.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 |
---|---|---|
@@ -1,21 +1,18 @@ | ||
package org.allaymc.server.block.impl; | ||
|
||
import lombok.experimental.Delegate; | ||
import org.allaymc.api.block.component.BlockWoodBaseComponent; | ||
import org.allaymc.api.block.component.BlockStrippableComponent; | ||
import org.allaymc.api.block.interfaces.BlockWoodBehavior; | ||
import org.allaymc.api.component.interfaces.Component; | ||
import org.allaymc.server.component.interfaces.ComponentProvider; | ||
|
||
import java.util.List; | ||
|
||
public class BlockWoodBehaviorImpl extends BlockBehaviorImpl implements BlockWoodBehavior { | ||
@Delegate | ||
protected BlockStrippableComponent strippableComponent; | ||
|
||
public BlockWoodBehaviorImpl(List<ComponentProvider<? extends Component>> componentProviders) { | ||
super(componentProviders); | ||
} | ||
|
||
@Delegate | ||
@Override | ||
protected BlockWoodBaseComponent getBaseComponent() { | ||
return (BlockWoodBaseComponent) super.getBaseComponent(); | ||
} | ||
} |
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
Oops, something went wrong.