LootParamsBuilder
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Static Methods
Return Type: LootParamsBuilder
Parameter | Type |
---|---|
Parameter level | Type ServerLevel |
Methods
Return Type: LootParams
Parameter | Type |
---|---|
Parameter params | Type LootContextParamSet |
Return Type: @org.openzen.zencode.java.ZenCodeType.Nullable T
Parameter | Type |
---|---|
Parameter param | Type LootContextParam<T> |
Parameter T | Type Object |
Return Type: T
Parameter | Type |
---|---|
Parameter param | Type LootContextParam<T> |
Parameter T | Type Object |
Return Type: LootParamsBuilder
Parameter | Type |
---|---|
Parameter key | Type ResourceLocation |
Parameter drop | Type DynamicDrop |
Return Type: LootParamsBuilder
Parameter | Type |
---|---|
Parameter luck | Type float |
Return Type: LootParamsBuilder
Parameter | Type |
---|---|
Parameter param | Type LootContextParam<T> |
Parameter value | Type @org.openzen.zencode.java.ZenCodeType.Nullable T |
Parameter T | Type Object |
Return Type: LootParamsBuilder
Parameter | Type |
---|---|
Parameter param | Type LootContextParam<T> |
Parameter value | Type T |
Parameter T | Type Object |
Properties
Type | Has Getter | Has Setter |
---|---|---|
Type ServerLevel | Has Getter true | Has Setter false |