Closed 3TUSK closed 4 years ago
11:32 <TriTUSK> !mh 225608
11:32 -MCPBot_Reborn(~MCPBot_Re@mcpbot.bspk.rs)- === Method History: func_225608_bj_ ===
11:32 -MCPBot_Reborn(~MCPBot_Re@mcpbot.bspk.rs)- [1.15.1, Staged 2020-04-24 11:18:11.472530-04:00] ichun: isShiftKeyDown => isSneaking
11:32 -MCPBot_Reborn(~MCPBot_Re@mcpbot.bspk.rs)- [1.15.1, Staged 2020-01-22 04:46:31.041410-05:00] sp614x: func_225608_bj_ => isShiftKeyDown
func_225608_bj_
inEntity
:isShiftKeyDown
->isSneaking
Entity
, notPlayerEntity
. A villager or a skeleton don't and can't press the Shift key on their own.(Under 1.15.2) Implementation of
func_225608_bj_
callsEntity.getFlag
(func_70083_f
) with parameter of1
. Comments offunc_70083_f
:Apparently, it returns if the entity sets the flag for sneaking.
isSneaking
matches upsetSneaking
(func_226284_e
). (Under 1.15.2)func_226284_e
callsEntity.setFlag
(func_70052_a
) with parameter of1
andboolean isKeyDown
.isSneaking
(func_70093_af
, instable_39
).