net.minecraft.world.level

public class GameRules

bjs
net.minecraft.world.level.GameRules
net.minecraft.class_1928
net.minecraft.unmapped.C_xmldumst
net.minecraft.world.GameRules
net.minecraft.world.GameRules
net.minecraft.server.v1_15_R1.GameRules

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
F
LOGGER
field_19410
f_kzskrcnw
LOGGER
field_223622_y
private static final Map<GameRules$Key<?>, GameRules$Type<?>>
G
GAME_RULE_TYPES
field_9197
f_fskutrwp
RULE_TYPES
field_223623_z
public static final GameRules$Key<GameRules$BooleanValue>
a
RULE_DOFIRETICK
field_19387
f_ihinqnli
DO_FIRE_TICK
field_223598_a
DO_FIRE_TICK
public static final GameRules$Key<GameRules$BooleanValue>
b
RULE_MOBGRIEFING
field_19388
f_nqnkyimm
MOB_GRIEFING
field_223599_b
MOB_GRIEFING
public static final GameRules$Key<GameRules$BooleanValue>
c
RULE_KEEPINVENTORY
field_19389
f_hysgxzdu
KEEP_INVENTORY
field_223600_c
KEEP_INVENTORY
public static final GameRules$Key<GameRules$BooleanValue>
d
RULE_DOMOBSPAWNING
field_19390
f_tputawyr
DO_MOB_SPAWNING
field_223601_d
DO_MOB_SPAWNING
public static final GameRules$Key<GameRules$BooleanValue>
e
RULE_DOMOBLOOT
field_19391
f_vimssrzh
DO_MOB_LOOT
field_223602_e
DO_MOB_LOOT
public static final GameRules$Key<GameRules$BooleanValue>
f
RULE_DOBLOCKDROPS
field_19392
f_huvodyag
DO_TILE_DROPS
field_223603_f
DO_TILE_DROPS
public static final GameRules$Key<GameRules$BooleanValue>
g
RULE_DOENTITYDROPS
field_19393
f_jmfdlcxm
DO_ENTITY_DROPS
field_223604_g
DO_ENTITY_DROPS
public static final GameRules$Key<GameRules$BooleanValue>
h
RULE_COMMANDBLOCKOUTPUT
field_19394
f_bjonrkyp
COMMAND_BLOCK_OUTPUT
field_223605_h
COMMAND_BLOCK_OUTPUT
public static final GameRules$Key<GameRules$BooleanValue>
i
RULE_NATURAL_REGENERATION
field_19395
f_wvejngfp
NATURAL_REGENERATION
field_223606_i
NATURAL_REGENERATION
public static final GameRules$Key<GameRules$BooleanValue>
j
RULE_DAYLIGHT
field_19396
f_ulkaqxnx
DO_DAYLIGHT_CYCLE
field_223607_j
DO_DAYLIGHT_CYCLE
public static final GameRules$Key<GameRules$BooleanValue>
k
RULE_LOGADMINCOMMANDS
field_19397
f_ctprlhvi
LOG_ADMIN_COMMANDS
field_223608_k
LOG_ADMIN_COMMANDS
public static final GameRules$Key<GameRules$BooleanValue>
l
RULE_SHOWDEATHMESSAGES
field_19398
f_ovpdtukz
SHOW_DEATH_MESSAGES
field_223609_l
SHOW_DEATH_MESSAGES
public static final GameRules$Key<GameRules$IntegerValue>
m
RULE_RANDOMTICKING
field_19399
f_itxhzqol
RANDOM_TICK_SPEED
field_223610_m
RANDOM_TICK_SPEED
public static final GameRules$Key<GameRules$BooleanValue>
n
RULE_SENDCOMMANDFEEDBACK
field_19400
f_jnvebouf
SEND_COMMAND_FEEDBACK
field_223611_n
SEND_COMMAND_FEEDBACK
public static final GameRules$Key<GameRules$BooleanValue>
o
RULE_REDUCEDDEBUGINFO
field_19401
f_xfpasujp
REDUCED_DEBUG_INFO
field_223612_o
REDUCED_DEBUG_INFO
public static final GameRules$Key<GameRules$BooleanValue>
p
RULE_SPECTATORSGENERATECHUNKS
field_19402
f_kwjvqvpl
SPECTATORS_GENERATE_CHUNKS
field_223613_p
SPECTATORS_GENERATE_CHUNKS
public static final GameRules$Key<GameRules$IntegerValue>
q
RULE_SPAWN_RADIUS
field_19403
f_snezdope
SPAWN_RADIUS
field_223614_q
SPAWN_RADIUS
public static final GameRules$Key<GameRules$BooleanValue>
r
RULE_DISABLE_ELYTRA_MOVEMENT_CHECK
field_19404
f_oxxclhgt
DISABLE_ELYTRA_MOVEMENT_CHECK
field_223615_r
DISABLE_ELYTRA_MOVEMENT_CHECK
public static final GameRules$Key<GameRules$IntegerValue>
s
RULE_MAX_ENTITY_CRAMMING
field_19405
f_zumpbxtd
MAX_ENTITY_CRAMMING
field_223616_s
MAX_ENTITY_CRAMMING
public static final GameRules$Key<GameRules$BooleanValue>
t
RULE_WEATHER_CYCLE
field_19406
f_gmtiujwd
DO_WEATHER_CYCLE
field_223617_t
DO_WEATHER_CYCLE
public static final GameRules$Key<GameRules$BooleanValue>
u
RULE_LIMITED_CRAFTING
field_19407
f_enlwvizg
DO_LIMITED_CRAFTING
field_223618_u
DO_LIMITED_CRAFTING
public static final GameRules$Key<GameRules$IntegerValue>
v
RULE_MAX_COMMAND_CHAIN_LENGTH
field_19408
f_vvenpozn
MAX_COMMAND_CHAIN_LENGTH
field_223619_v
MAX_COMMAND_CHAIN_LENGTH
public static final GameRules$Key<GameRules$BooleanValue>
w
RULE_ANNOUNCE_ADVANCEMENTS
field_19409
f_xhcxhtfb
ANNOUNCE_ADVANCEMENTS
field_223620_w
ANNOUNCE_ADVANCEMENTS
public static final GameRules$Key<GameRules$BooleanValue>
x
RULE_DISABLE_RAIDS
field_19422
f_qacbmgyi
DISABLE_RAIDS
field_223621_x
DISABLE_RAIDS
public static final GameRules$Key<GameRules$BooleanValue>
y
RULE_DOINSOMNIA
field_20637
f_ddlhpkfi
DO_INSOMNIA
field_226682_y_
DO_INSOMNIA
public static final GameRules$Key<GameRules$BooleanValue>
z
RULE_DO_IMMEDIATE_RESPAWN
field_20638
f_djarkqql
DO_IMMEDIATE_RESPAWN
field_226683_z_
DO_IMMEDIATE_RESPAWN
public static final GameRules$Key<GameRules$BooleanValue>
A
RULE_DROWNING_DAMAGE
field_20634
f_ifwgdzjz
DROWNING_DAMAGE
field_226679_A_
DROWNING_DAMAGE
public static final GameRules$Key<GameRules$BooleanValue>
B
RULE_FALL_DAMAGE
field_20635
f_uqgkyhqg
FALL_DAMAGE
field_226680_B_
FALL_DAMAGE
public static final GameRules$Key<GameRules$BooleanValue>
C
RULE_FIRE_DAMAGE
field_20636
f_poqilblq
FIRE_DAMAGE
field_226681_C_
FIRE_DAMAGE
public static final GameRules$Key<GameRules$BooleanValue>
D
RULE_DO_PATROL_SPAWNING
field_21831
f_npbkaozn
DO_PATROL_SPAWNING
field_230127_D_
DO_PATROL_SPAWNING
public static final GameRules$Key<GameRules$BooleanValue>
E
RULE_DO_TRADER_SPAWNING
field_21832
f_tamllbds
DO_TRADER_SPAWNING
field_230128_E_
DO_TRADER_SPAWNING
private final Map<GameRules$Key<?>, GameRules$Value<?>>
H
rules
field_9196
f_aqbcwkwn
rules
field_82771_a

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <T extends GameRules$Value<T>> GameRules$Key<T>
a(String arg0, bjs$e<T> arg1)
register(String arg0, GameRules$Type<T> arg1)
method_8359(String arg0, class_1928$class_4314<T> arg1)
m_zuudbppt(String arg0, C_xmldumst$C_mymgluou<T> arg1)
register(String name, GameRules$RuleType<T> type)
func_223595_a(String arg0, GameRules$RuleType<T> arg1)
public <T extends GameRules$Value<T>> T
a(bjs$d<T> arg0)
getRule(GameRules$Key<T> arg0)
method_20746(class_1928$class_4313<T> arg0)
m_mijxrbwk(C_xmldumst$C_iuaedxxw<T> arg0)
get(GameRules$RuleKey<T> key)
func_223585_a(GameRules$RuleKey<T> arg0)
get(GameRules$GameRuleKey<T> arg0)
public CompoundTag
a()
createTag()
method_8358()
m_khbebsio()
toNbt()
func_82770_a()
public void
a(jt arg0)
loadFromTag(CompoundTag arg0)
method_8357(class_2487 arg0)
m_magbttmy(C_hhlwcnih arg0)
load(CompoundTag nbt)
func_82768_a(CompoundNBT arg0)
public static void
a(bjs$b arg0)
visitGameRuleTypes(GameRules$GameRuleTypeVisitor arg0)
method_20744(class_1928$class_4311 arg0)
m_gdklogjj(C_xmldumst$C_avotqrag arg0)
forEachType(GameRules$RuleTypeConsumer action)
func_223590_a(GameRules$IRuleEntryVisitor arg0)
private static <T extends GameRules$Value<T>> void
a(bjs$b arg0, bjs$d<?> arg1, bjs$e<?> arg2)
cap(GameRules$GameRuleTypeVisitor arg0, GameRules$Key<?> arg1, GameRules$Type<?> arg2)
method_20745(class_1928$class_4311 arg0, class_1928$class_4313<?> arg1, class_1928$class_4314<?> arg2)
m_lbipsxtq(C_xmldumst$C_avotqrag arg0, C_xmldumst$C_iuaedxxw<?> arg1, C_xmldumst$C_mymgluou<?> arg2)
accept(GameRules$RuleTypeConsumer consumer, GameRules$RuleKey<?> key, GameRules$RuleType<?> type)
func_223596_a(GameRules$IRuleEntryVisitor arg0, GameRules$RuleKey<?> arg1, GameRules$RuleType<?> arg2)
public boolean
b(bjs$d<bjs$a> arg0)
getBoolean(GameRules$Key<GameRules$BooleanValue> arg0)
method_8355(class_1928$class_4313<class_1928$class_4310> arg0)
m_vkgvfrzn(C_xmldumst$C_iuaedxxw<C_xmldumst$C_juzzykai> arg0)
getBoolean(GameRules$RuleKey<GameRules$BooleanRule> rule)
func_223586_b(GameRules$RuleKey<GameRules$BooleanValue> arg0)
getBoolean(GameRules$GameRuleKey<GameRules$GameRuleBoolean> arg0)
public int
c(bjs$d<bjs$c> arg0)
getInt(GameRules$Key<GameRules$IntegerValue> arg0)
method_8356(class_1928$class_4313<class_1928$class_4312> arg0)
m_dpsrpyxn(C_xmldumst$C_iuaedxxw<C_xmldumst$C_tdajhqee> arg0)
getInt(GameRules$RuleKey<GameRules$IntRule> rule)
func_223592_c(GameRules$RuleKey<GameRules$IntegerValue> arg0)
getInt(GameRules$GameRuleKey<GameRules$GameRuleInt> arg0)