SimpleMultipart/src/main/java/net/shadowfacts/simplemultipart/container/ContainerBlockState.java

24 lines
518 B
Java
Raw Normal View History

2018-12-20 00:39:10 +00:00
package net.shadowfacts.simplemultipart.container;
import net.minecraft.block.BlockState;
2018-12-28 02:55:51 +00:00
import net.shadowfacts.simplemultipart.multipart.MultipartView;
2018-12-20 00:39:10 +00:00
2018-12-24 22:16:38 +00:00
import java.util.Set;
2018-12-20 00:39:10 +00:00
/**
* @author shadowfacts
*/
2018-12-25 15:30:46 +00:00
public class ContainerBlockState extends BlockState {
2018-12-20 00:39:10 +00:00
2018-12-25 15:20:44 +00:00
private Set<MultipartView> parts;
2018-12-20 00:39:10 +00:00
2018-12-25 15:30:46 +00:00
public ContainerBlockState(BlockState delegate, Set<MultipartView> parts) {
2018-12-20 00:39:10 +00:00
super(delegate.getBlock(), delegate.getEntries());
this.parts = parts;
}
2018-12-25 15:20:44 +00:00
public Set<MultipartView> getParts() {
2018-12-20 00:39:10 +00:00
return parts;
}
}