17 lines
		
	
	
	
		
			480 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			480 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| package net.minecraft.world.level.block;
 | |
| 
 | |
| import com.mojang.serialization.MapCodec;
 | |
| import net.minecraft.world.level.block.state.BlockBehaviour;
 | |
| 
 | |
| public class PlayerHeadBlock extends SkullBlock {
 | |
| 	public static final MapCodec<PlayerHeadBlock> CODEC = simpleCodec(PlayerHeadBlock::new);
 | |
| 
 | |
| 	@Override
 | |
| 	public MapCodec<PlayerHeadBlock> codec() {
 | |
| 		return CODEC;
 | |
| 	}
 | |
| 
 | |
| 	protected PlayerHeadBlock(BlockBehaviour.Properties properties) {
 | |
| 		super(SkullBlock.Types.PLAYER, properties);
 | |
| 	}
 | |
| }
 |