mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
level properties, moved some settings from server.properties, cmd placeholders
This commit is contained in:
parent
581a6a8fb2
commit
cf4dc73a6c
10 changed files with 165 additions and 30 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Small class to hopefully optimize entities a bit
|
||||
* A class that allows to get block properties without having to create a block instance.
|
||||
* Should be used whenever is possible.
|
||||
*/
|
||||
class StaticBlock
|
||||
{
|
||||
|
|
@ -9,6 +10,8 @@ class StaticBlock
|
|||
|
||||
private static $NULL_BOUNDS;
|
||||
public static $prealloc = [];
|
||||
|
||||
//default pmmp block props
|
||||
public static $isSolid = [];
|
||||
public static $isTransparent = [];
|
||||
public static $isFlowable = [];
|
||||
|
|
@ -17,6 +20,8 @@ class StaticBlock
|
|||
public static $hasPhysics = [];
|
||||
public static $isLiquid = [];
|
||||
public static $isFullBlock = [];
|
||||
|
||||
|
||||
public static $material = [];
|
||||
public static $hardness = [];
|
||||
public static $destroyTime = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue