Skip to content

Commit

Permalink
Considering adding heads support to prison. Added a few parts, but th…
Browse files Browse the repository at this point in the history
…ey are not functional.
  • Loading branch information
rbluer committed Jan 19, 2022
1 parent 30fadf4 commit 5e50940
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/changelog_v3.3.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ These build logs represent the work that has been going on within prison.




* **Considering adding heads support to prison. Added a few parts, but they are not functional.**


* **3.2.11-alpha.17 2022-01-18**


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public class PrisonBlock

public enum PrisonBlockType {
minecraft,
CustomItems
CustomItems,
heads
}

/**
Expand Down
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;
}

}
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;
}
}

0 comments on commit 5e50940

Please sign in to comment.