-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Considering adding heads support to prison. Added a few parts, but th…
…ey are not functional.
- Loading branch information
Showing
4 changed files
with
84 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
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
62 changes: 62 additions & 0 deletions
62
prison-spigot/src/main/java/tech/mcprison/prison/spigot/customblock/HeadsCustomBlocks.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,62 @@ | ||
package tech.mcprison.prison.spigot.customblock; | ||
|
||
import java.util.List; | ||
|
||
import tech.mcprison.prison.integration.CustomBlockIntegration; | ||
import tech.mcprison.prison.internal.block.Block; | ||
import tech.mcprison.prison.internal.block.PrisonBlock; | ||
import tech.mcprison.prison.internal.block.PrisonBlock.PrisonBlockType; | ||
import tech.mcprison.prison.util.Location; | ||
|
||
public class HeadsCustomBlocks | ||
extends CustomBlockIntegration { | ||
|
||
|
||
private HeadsCustomBlocksWrapper headsCustomBlocksWrapper; | ||
|
||
|
||
public HeadsCustomBlocks() { | ||
super("HeadsCustomBlocks", "HeadsCustomBlocks", PrisonBlockType.heads, "heads:" ); | ||
} | ||
|
||
|
||
@Override | ||
public String getCustomBlockId( Block block ) | ||
{ | ||
// TODO Auto-generated method stub | ||
return null; | ||
} | ||
|
||
|
||
@Override | ||
public PrisonBlock getCustomBlock( Block block ) | ||
{ | ||
// TODO Auto-generated method stub | ||
return null; | ||
} | ||
|
||
|
||
@Override | ||
public Block setCustomBlockId( Block block, String customId, boolean doBlockUpdate ) | ||
{ | ||
// TODO Auto-generated method stub | ||
return null; | ||
} | ||
|
||
|
||
@Override | ||
public void setCustomBlockIdAsync( PrisonBlock prisonBlock, Location location ) | ||
{ | ||
// TODO Auto-generated method stub | ||
|
||
} | ||
|
||
|
||
@Override | ||
public List<PrisonBlock> getCustomBlockList() | ||
{ | ||
// TODO Auto-generated method stub | ||
return null; | ||
} | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
...pigot/src/main/java/tech/mcprison/prison/spigot/customblock/HeadsCustomBlocksWrapper.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,16 @@ | ||
package tech.mcprison.prison.spigot.customblock; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class HeadsCustomBlocksWrapper | ||
{ | ||
|
||
public List<String> getCustomBlockList() { | ||
List<String> heads = new ArrayList<>(); | ||
|
||
|
||
|
||
return heads; | ||
} | ||
} |